diff options
Diffstat (limited to 'template/en/default/admin/classifications/edit.html.tmpl')
-rw-r--r-- | template/en/default/admin/classifications/edit.html.tmpl | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/template/en/default/admin/classifications/edit.html.tmpl b/template/en/default/admin/classifications/edit.html.tmpl index 65299df22..b38f4d6aa 100644 --- a/template/en/default/admin/classifications/edit.html.tmpl +++ b/template/en/default/admin/classifications/edit.html.tmpl @@ -27,18 +27,24 @@ <table border=0 cellpadding=4 cellspacing=0> <tr> <th align="right">Classification:</th> - <td><input size=64 maxlength=64 name="classification" value="[% classification FILTER html %]"></TD> + <td><input size=64 maxlength=64 name="classification" + value="[% classification.name FILTER html %]"></td> </tr> <tr> <th align="right">Description:</th> - <td><textarea rows=4 cols=64 name="description">[% description %]</textarea></TD> + <td><textarea rows=4 cols=64 name="description"> + [% classification.description FILTER none %]</textarea> + </td> </tr> <tr valign=top> - <th align="right"><a href="editproducts.cgi?classification=[% classification FILTER url_quote %]">Edit products</a></th> + <th align="right"> + <a href="editproducts.cgi?classification=[% classification.name FILTER url_quote %]"> + Edit products</a> + </th> <td> - [% IF products AND products.size > 0 %] + [% IF classification.products.size > 0 %] <table> - [% FOREACH product = products %] + [% FOREACH product = classification.products %] <tr> <th align=right valign=top>[% product.name FILTER html %]</th> <td valign=top> @@ -58,7 +64,8 @@ </tr> </table> - <input type=hidden name="classificationold" value="[% classification FILTER html %]"> + <input type=hidden name="classificationold" + value="[% classification.name FILTER html %]"> <input type=hidden name="action" value="update"> <input type=submit value="Update"> </form> |