summaryrefslogtreecommitdiffstats
path: root/templates/agenda/add_new_event.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/agenda/add_new_event.html')
-rwxr-xr-xtemplates/agenda/add_new_event.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/templates/agenda/add_new_event.html b/templates/agenda/add_new_event.html
new file mode 100755
index 0000000..ab5479e
--- /dev/null
+++ b/templates/agenda/add_new_event.html
@@ -0,0 +1,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 %}