<html>
<head><title>##strCaption h##</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
<style>
#center_block {width:400;margin:0 auto;}
#contents_block {text-align:center;width:100%}
#header_block {width:100%;white-space:nowrap;height:31px;padding-top:5px;}
#fields_block {width:100%}
#fields_block td {padding-left:10px}
#buttons_block {width:100%;padding-bottom:5px;text-align:center}
#required_block {text-align:left;padding:5px}
#message_block {padding:5px 0px;text-align:center}
</style>
</head>

<body>
{$header}
{BEGIN body}
<table id="center_block"><tr><td>
<div id="header_block">
<h1>
##strCaption h##, ##message EDIT_RECORD## [
##foreach @TABLE.arrKeyFields as @k##
##if !@first##
,
##endif##
##Field(@k).strLabel h##: {$show_key##@index##}
##endfor##
]
</h1>
</div>
{BEGIN message_block}
<DIV id=message_block>
{$message}
</div>
{END message_block}

<div align=left><hr width=300 noshade size=1></div>

&nbsp;&nbsp;&nbsp;<a href="##@TABLE.strShortTableName##_list.##@ext##?a=return">Back to standings</a><br><br>
<table cellpadding=4 cellspacing=2 border=0 id="fields_block">

##foreach Fields as @f filter @f.bEditPage order @f.nEditPageOrder##
  {BEGIN ##@f.strName g##_fieldblock}
  <tr><td class=shade width=150>##@f.strLabel h##</td><td width=250>
    {$##@f.strName g##_editcontrol}
  ##if NeedLegendIcon(@f)##
    &nbsp;<img src="images/icon_required.gif">
  ##endif##
  </td></tr>
  {END ##@f.strName g##_fieldblock}
##endfor##
</table>
<div id="buttons_block">
<div align=left><hr width=300 noshade size=1></div>
<div id="required_block" ><img src="images/icon_required.gif"> - ##message REQUIRED_FIELD##</div>
{BEGIN save_button}
 <input class=button type=submit value="##message SAVE##">
{END save_button}
{BEGIN reset_button}
 <input class=button type=reset value="##message RESET##">
{END reset_button}
</div>
</td></tr></table>
{END body}
{$footer}
</body>
</html>