]> git.imager.perl.org - bse.git/blob - site/templates/admin/tagcat.tmpl
use new style field macros for the file edit page
[bse.git] / site / templates / admin / tagcat.tmpl
1 <:wrap admin/base.tmpl title => "Tag Category", showtitle => 1, js => "admin_tagcat.js" :>
2 <:ifMessage:><p class="message"><:message:></p><:or:><:eif:>
3 <:include admin/include/site_menu.tmpl:>
4 <p>Parents:</p>
5 <form method="post" action="<:= bse.admin_url2("add") :>">
6 <input type="hidden" name="cat" value="<:= cat.cat |html :>" />
7 <input type="hidden" name="id" value="-1" />
8 <:csrfp admin_tagcatsave hidden :>
9 <ul id="tagcatdeps">
10 <:.for dep in cat.deps :>
11 <li><input type="text" name="dep" value="<:= dep |html:>" /></li>
12 <:.end for:>
13 <li><input type="text" name="dep" value="" /></li>
14 </ul>
15 <input type="submit" name="a_tagcatsave" value="Save dependencies" />
16 </form>