##strCaption h##

{$includes}
{if !$onthefly} {include_if_exists file="include/header.##@ext##"} {/if} {if $onthefly} {/if} {doevent name="AddOnLoad"}

##@TABLE.strCaption h##, ##message ADD_NEW_RECORD##

{if $message!=""}

{$message}

{/if}

##foreach Fields as @f filter @f.bAddPage order @f.nAddPageOrder##
##if @first##
##@f.strLabel h## | ##else## | ##@f.strLabel h## | ##endif## {build_edit_control field="##@f.strName s##" mode="add" value=$value_##@f.strName g##} ##if NeedLegendIcon(@f)## ##endif##
##endfor##
- ##message REQUIRED_FIELD##
{if $onthefly} {else} {/if}

{if !$onthefly} {include_if_exists file="include/footer.##@ext##"} {/if} {$linkdata}