summaryrefslogtreecommitdiff
path: root/templates/pages/cats.mako
blob: 3dbef4c8d1036582a2c8aef9ee1b8c96ca782cb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<%inherit file="/page.mako" />

<form name="categories" method="post">
    <ul class="arrow">
    % for c in cats:
        <li><span>${c.name}</span><input name="${c.id}" type="text" value="${c.name}" style="display:none;"/></li> 
    % endfor
    <div><img id="add" src=${"/static/images/add.png" | url} /></div>
    </ul>

    <input type="submit" />
</form>

<input id="new" name="n-" style="display:none;" />
<%def name="heading()">
    Categories
</%def>

<%def name="js()">
    ${parent.js()}
    <script type="text/javascript" src=${"/static/js/cats.js" | url}></script>
</%def>