poll_form.html 947 Bytes
Newer Older
christophe siraut's avatar
christophe siraut committed
1
{% extends "base.html" %}
Christophe Siraut's avatar
Christophe Siraut committed
2
{% load url from future %}
chris's avatar
chris committed
3
{% load i18n %}
christophe siraut's avatar
christophe siraut committed
4
5
6
7
8

{% block title %}Create an meeting{% endblock %}

{% block chapeau %}

chris's avatar
chris committed
9
    <h3>{% trans "Step 1 : About your poll" %}</h3>
christophe siraut's avatar
christophe siraut committed
10
11

    {% if not user.is_authenticated %}
Christophe Siraut's avatar
Christophe Siraut committed
12
        <p class="info">{% trans 'Enter basic information on your poll. (You are not logged so you will not be able to modify your poll after creation. You may want to login or register first.' %} <a href="{% url 'auth_login' %}">login</a>/<a href="{% url 'registration_register' %}">register</a>)'</p>
christophe siraut's avatar
christophe siraut committed
13
    {% else %}
chris's avatar
chris committed
14
        <p class="info">{% trans 'Enter basic information on your poll.' %}</p>
christophe siraut's avatar
christophe siraut committed
15
16
17
18
19
20
21
    {% endif %}

{% endblock %}

{% block content %}

    <br />
Christophe Siraut's avatar
Christophe Siraut committed
22
    <form action="" method="post"> {% csrf_token %}
christophe siraut's avatar
christophe siraut committed
23
24
25
    <table>
    {{ form.as_table }}

chris's avatar
chris committed
26
    <tr><th><label class="hide"> </label></th><td><input type="submit" value=" {% trans 'Next' %} &rarr; " /></td></tr>
christophe siraut's avatar
christophe siraut committed
27
28
29
30
31
    </table>
    </form>

{% endblock %}