~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to templates/messages/compose.html

  • Committer: Holger Rapp
  • Date: 2010-01-01 21:35:23 UTC
  • mto: (173.3.2 widelands)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: rapp@mrt.uka.de-20100101213523-53rcapbemm69ep6u
Made the site compatible to django 1.1 and all the various packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "django_messages/base.html" %} 
 
1
{% extends "messages/base.html" %} 
2
2
{% load i18n %} 
3
3
 
4
4
{% block title %}
7
7
 
8
8
 
9
9
{% block content %} 
10
 
{% include "django_messages/inlines/navigation.html" %}
11
 
<br />
12
 
<br />
13
 
<div class="box_item_model fixed_site border">
14
 
        <h3 class="title">{% trans "Compose Message"%}</h3>
15
 
    <form action="" method="post">
16
 
        <div class="content">
17
 
            <table class="text full_site" cellspacing="1">
18
 
                {% for field in form %}
19
 
                <tr>
20
 
                    <td width="80" class="{% cycle "odd" "even" %}{% ifequal field.name "body" %} show_left{% endifequal %}">{{ field.label_tag }}:</td>
21
 
                    <td class="{% cycle "odd" "even" %}">{{ field }}</td>
22
 
                </tr>
23
 
                {% endfor %}
24
 
            </table>
25
 
        </div>
26
 
        <div class="info_line show_center">
27
 
            <input type="submit" value="{% trans "Send" %} &raquo;"/>
28
 
        </div>
29
 
        {% csrf_token %}
30
 
    </form>
31
 
</div>
 
10
{% include "messages/inlines/navigation.html" %}
 
11
 
 
12
<h1>{% trans "Compose Message"%}</h1>
 
13
<form action="" method="post">
 
14
<table>
 
15
{{ form.as_p }}
 
16
</table>
 
17
<input type="submit" value="{% trans "Send" %} &raquo;"/>
 
18
</form>
32
19
 
33
20
{% endblock %}