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_form.html
1 1
{% extends "corbo/manage.html" %}
2 2
{% load i18n %}
3

  
4
{% block appbar %}
5
{% if object %}
6
  <h2>{% trans "Modify Announce" %}</h2>
7
{% else %}
8
  <h2>{% trans "New Announce" %}</h2>
9
{% endif %}
10
{% endblock %}
11

  
3 12
{% block content %}
4 13
<form method="post">
5 14
  {% csrf_token %}
6 15
  {{ form.media }}
7
  <ul>
8
  {{ form.as_ul }}
9
  <li>
16
  {{ form.as_p }}
17
  <div class="buttons">
10 18
    <button>{% trans "Save" %}</button>
11
  </li>
12
  </ul>
19
  </div>
13 20
  <script type="text/javascript">
14 21
    $(function() {
15 22
        $(".datepicker" ).datepicker();

Also available in: Unified diff