root / corbo / templates / corbo / category_form.html @ f38ae358
1 | cc12ccfe | Serghei MIHAI | {% extends "corbo/manage.html" %} |
---|---|---|---|
2 | {% load i18n %} |
||
3 | f38ae358 | Frédéric Péters | |
4 | {% block appbar %} |
||
5 | {% if object %} |
||
6 | <h2>{% trans "Modify Category" %}</h2> |
||
7 | {% else %} |
||
8 | <h2>{% trans "New Category" %}</h2> |
||
9 | {% endif %} |
||
10 | {% endblock %} |
||
11 | |||
12 | cc12ccfe | Serghei MIHAI | {% block content %} |
13 | <form method="post"> |
||
14 | {% csrf_token %} |
||
15 | {{ form.as_p }} |
||
16 | f38ae358 | Frédéric Péters | <div class="buttons"> |
17 | <button>{% trans "Save" %}</button> |
||
18 | </div>
|
||
19 | cc12ccfe | Serghei MIHAI | </form>
|
20 | {% endblock %} |