Projet

Général

Profil

« Précédent | Suivant » 

Révision f38ae358

Ajouté par Frédéric Péters il y a environ 8 ans

general: update dialogs to match style guide

Voir les différences:

corbo/templates/corbo/category_form.html
1 1
{% extends "corbo/manage.html" %}
2 2
{% load i18n %}
3

  
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

  
3 12
{% block content %}
4 13
<form method="post">
5 14
  {% csrf_token %}
6 15
  {{ form.as_p }}
7
  <button>{% trans "Save" %}</button>
16
  <div class="buttons">
17
    <button>{% trans "Save" %}</button>
18
  </div>
8 19
</form>
9 20
{% endblock %}

Formats disponibles : Unified diff