support for new templating for product options
[bse.git] / site / templates / admin / prodopt_value_edit.tmpl
CommitLineData
8a3b8db8 1<:wrap admin/base.tmpl title => "Edit Product Option Value", menuitem=>"none", showtitle=>"1" :>
58baa27b
TC
2<:include admin/product_menu.tmpl:>
3<form action="<:script:>" method="post">
5b816615
TC
4<input type="hidden" name="id" value="<:= article.id:>" />
5<input type="hidden" name="value_id" value="<:= option_value.id:>" />
58baa27b
TC
6<input type="hidden" name="_t" value="prodopts" />
7<:csrfp admin_save_option_value hidden:>
8<table class="editform editformsmall">
9<tr>
8a3b8db8 10 <th>Option:</th>
5b816615 11 <td><:= option.name:></td>
8a3b8db8
TC
12 <td></td>
13</tr>
58baa27b
TC
14<tr>
15<th>Value:</th>
5b816615 16<td><input type="text" name="value" value="<:.call "old", field: "value", default: option_value.value :>" /></td><td class="help"><:.call "error_img", field: "value":></td></tr>
58baa27b 17<tr>
8a3b8db8 18 <td class="buttons" colspan="3"><input type="submit" name="a_save_option_value" value="Save" /><input type="submit" value="Return to product options" /></td>
58baa27b
TC
19</tr>
20</table>
21</form>