Project

General

Profile

« Previous | Next » 

Revision f38ae358

Added by Frédéric Péters over 8 years ago

general: update dialogs to match style guide

View differences:

corbo/templates/corbo/announce_confirm_delete.html
2 2
{% load i18n %}
3 3
{% block content %}
4 4
<form method="post">
5
  <h5>
5
  <p>
6 6
    {% blocktrans with title=object.title %}
7 7
    Are you sure you want to delete the announce "{{ title }}" ?
8 8
    {% endblocktrans %}
9
  </h5>
9
  </p>
10 10
  {% csrf_token %}
11
  <button>{% trans "Delete" %}</button>
11
  <div class="buttons">
12
    <button>{% trans "Delete" %}</button>
13
    <a class="cancel" href="{{ object.get_absolute_url }}">{% trans 'Cancel' %}</a>
14
  </div>
12 15
</form>
13 16
{% endblock %}

Also available in: Unified diff