<!-- BEGIN header -->
 <center>
 <form method="POST" action="{action_url}">
  <table border="0" width="70%">
   <tr bgcolor="{th_bg}">
    <td align="left" colspan="4">{title}</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td align="center">{lang_name}&nbsp;</td>
    <td colspan="3"><input name="newval[name]" value="{name}"></td>
   </tr>
<!-- END header -->

<!-- BEGIN detail -->
   <tr bgcolor="{th_bg}">
    <td colspan="4" align="center">{lang_detail}&nbsp;:</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td colspan="2" align="center">{lang_setting}</td>
    <td align="center">{lang_value}</td>
    <td align="center">{lang_units}</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td colspan="2">{lang_boil_vol}</td><td><input name="newval[boil_vol]" value="{boil_vol}"></td><td align="center">{boil_units}</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td colspan="2">{lang_total_vol}</td><td><input name="newval[total_vol]" value="{total_vol}"></td><td align="center">{vol_units}</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td colspan="2">{lang_boil_time}</td><td><input name="newval[boil_time]" value="{boil_time}"></td><td align="center">{lang_time_units}</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td colspan="2">{lang_IBU_Method}</td><td align="center">{IBU_Method}&nbsp;</td><td>&nbsp;</td>
   </tr>
<!-- END detail -->

<!-- BEGIN main -->
   <tr bgcolor="{th_bg}">
    <td colspan="4" align="center">{lang_ingredients}&nbsp;:</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td align="center">{lang_ingredient}</td>
    <td align="center">{lang_amount}</td>
    <td align="center">{lang_units}</td>
    <td align="center">{lang_remove}</td>
  </tr>
{ingredients}
<!-- END main -->

<!-- BEGIN ingredient -->
  <tr bgcolor="{row_off}">
   <td width="60%"align="left">{ingred}&nbsp;{radio0}&nbsp;{radio1}</td>
   <td align="center"><input name="{ingred_id}" value="{amount}" size="5"></td>
   <td align="center">{units}</td>
   <td align="center"><a href="{remove}">{lang_remove}</a></td>
  </tr>
<!-- END ingredient -->

<!-- BEGIN results -->
   <tr>
    <td>&nbsp;</td>
   </tr>
   <tr bgcolor="{th_bg}">
    <td colspan="4" align="center">{lang_results}</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td>{lang_extraction_efficiency}</td><td colspan="3" align="left">{extraction_efficiency}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td>{lang_apparent_attenuation}</td><td colspan="3" align="left">{apparent_attenuation}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td>{lang_real_attenuation}</td><td colspan="3" align="left">{real_attenuation}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td>{lang_original_gravity}</td><td colspan="3" align="left">{original_gravity}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td>{lang_final_gravity}</td><td colspan="3" align="left">{final_gravity}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td>{lang_alcohol_by_volume}</td><td colspan="3" align="left">{alcohol_by_volume}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td>{lang_alcohol_by_weight}</td><td colspan="3" align="left">{alcohol_by_weight}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td>{lang_color}</td><td colspan="3" align="left">{color}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td>{lang_IBUs}</td><td colspan="3" align="left">{IBUs}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td>{lang_hop_utilization}</td><td colspan="3" align="left">{hop_utilization}&nbsp;</td>
   </tr>
<!-- END results -->

<!-- BEGIN brew_style -->
   <tr>
    <td>&nbsp;</td>
   </tr>
   <tr bgcolor="{th_bg}">
    <td colspan="4" align="center">{lang_style}&nbsp;{style}&nbsp;{lang_warn}</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td colspan="4" align="left">{lang_description}:</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td colspan="4" align="center">{description}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td>{lang_mingravity}</td><td colspan="3" align="left">{mingravity}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td>{lang_maxgravity}</td><td colspan="3" align="left">{maxgravity}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td>{lang_minalcohol}</td><td colspan="3" align="left">{minalcohol}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td>{lang_maxalcohol}</td><td colspan="3" align="left">{maxalcohol}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td>{lang_mincolor}</td><td colspan="3" align="left">{mincolor}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td>{lang_maxcolor}</td><td colspan="3" align="left">{maxcolor}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td>{lang_minbitter}</td><td colspan="3" align="left">{minbitter}&nbsp;</td>
   </tr>
   <tr bgcolor="{row_off}">
    <td>{lang_maxbitter}</td><td colspan="3" align="left">{maxbitter}&nbsp;</td>
   </tr>
<!-- END brew_style -->

<!-- BEGIN add -->
<!-- END add -->

<!-- BEGIN edit -->
<!-- END edit -->

<!-- BEGIN buttons -->
   <tr bgcolor="{row_off}">
    <td colspan="4">&nbsp;</td>
   </tr>
   <tr bgcolor="{row_on}">
    <td colspan="3" align="center">
     <img src="{uparrow}" alt="" valign="center">&nbsp;
     <input type="submit" name="update" value="{lang_update}">
     <input type="submit" name="save" value="{lang_save}">
     <input type="submit" name="delete" value="{lang_delete}">
     <input type="submit" name="add_ingredient" value="{lang_add_ingredient}">
     <input type="submit" name="recalc" value="{lang_recalc}">
     &nbsp;<img src="{dnarrow}" alt="" valign="center">
    </td>
    <td align="center"><input type="submit" name="cancel" value="{lang_cancel}"></td>
    <input type="hidden" name="id" value="{id}">
   </tr>
<!-- END buttons -->

<!-- BEGIN footer -->
   </form>
  </table>
</center>
<!-- END footer -->
