summaryrefslogtreecommitdiff
path: root/templates/categories/manage.jinja
blob: efa91b6ec9aae7c59e071a795d56875c5cd2fa26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% extends "layout.jinja" %}

{% block heading %} Kategorien {% endblock %}

{% block js %}
    {{ super() }}
    <script type="text/javascript" src="{{ "js/cats.js" | static_url }}"></script>
{% endblock %}

{% block content %}
    <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="{{ "images/add.png" | static_url }}"></div>
        </ul>
        <input type="submit">
    </form>
    <input id="new" name="n-" style="display:none;" >
{% endblock %}