Blame view

app/main/templates/category_form.html 646 Bytes
61e8ddf2   hitier   New labels and ca...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% extends "base_page.html" %}

{#  Set the title that will be used in base_page #}
{% if category['id'] and category['id'] != '' %}
  {% set subtitle = "Modifier la categorie "+ category['name'] %}
{% else %}
  {% set subtitle = "Ajouter une nouvelle categorie" %}
{% endif %}

{% block content %}

  <!-- Invisible span to define wich ul and a in the navbar are actived -->
  <span id="nav_actived" style="display: none">admin,category_edit</span>

  <form id="category_form" class="pdc-form" action="{{ url_for('main.category_edit') }}" method="post">
    <input class="pdc-form-submit" type="submit" value="Valider">
  </form>
{% endblock %}