summaryrefslogtreecommitdiffstats
path: root/templates/agenda/add_new_event.html
blob: fc7a0d64c8a0fe5265b12948e62cc04ab78e8e43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{% extends "agenda/base.html" %}
{% load i18n  %}
{% load comments %}
{% block info %} {% endblock %}
{% block head %}{{ block.super }}
{{ mydate.media }}
{% endblock %}
{% block title %}{% trans 'Add new event' %}{% endblock %}
{% block branding %}{% trans 'Add new event' %}{% endblock %}
{% block content_title %}<h1>{% trans 'Add new event' %}</h1> {% endblock %}

{% block content %}
<div class="module">
<h2>{% trans 'Add new event' %}</h2>
{% if form.errormessages %}<p><strong>{{ form.error_messages }}</strong></p>{% endif %}
{% if mydate.errormessages %}<p><strong>{{ form.error_messages }}</strong></p>{% endif %}

<form method="post" action="{% url agenda.views.submit_new_event %}">

{{ mydate.as_p }}
{{ form.as_p }}
<input type="hidden" name="site" value="1" />
<input type="hidden" name="user" value="{{ user.id }}" />
<input type="submit" />
</form>
</div>
<div class="module">
{# general_form.as_p #}
{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
{% if messages %}<p><strong>{{ messages }}</strong></p>{% endif %}


</div>
</div>
</div>
</div>

{% endblock %}

{% block sidebar %}{{ block.super }}
{% endblock %}