summaryrefslogtreecommitdiffstats
path: root/templates/agenda/confirm.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/agenda/confirm.html')
-rwxr-xr-xtemplates/agenda/confirm.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/templates/agenda/confirm.html b/templates/agenda/confirm.html
new file mode 100755
index 0000000..642df78
--- /dev/null
+++ b/templates/agenda/confirm.html
@@ -0,0 +1,48 @@
+{% extends "agenda/base.html" %}
+{% load i18n %}
+{% block info %} {% endblock %}
+{% block title %}{{ event.title }}{% endblock %}
+{% block content_title %} <h1>{{ event.title }}</h1> {% endblock %}
+
+{% block content %}
+
+{% if error_message %}<p><strong>{{ error_message }}</strong></p>{% endif %}
+<ul class="object-tools">
+<li><a href="/admin/agenda/event/add">New Event</a></li>
+
+
+
+ <li><a href="/agenda/location/{{ event.location_id }}" class="viewsitelink">See location</a><li>
+<li><a href="/admin/agenda/event/{{ event.id }}">Edit</a><li>
+</ul>
+
+<div id="content-main">
+<div class="module">
+
+Location: {{ event.location }}<br>
+Starts: {{ event.start_date|date }}<br>
+Ends: {{ event.end_date }}<br>
+
+<h4>Invitados:</h4>
+<table border='1px'>
+<tr><td>{% trans 'Person' %}</td><td>Att.</td></tr>
+{% for person_id in event.attendance_set.all %}
+<tr>
+ <td>{{ person_id.person }}</td>
+ <td> {{ person_id.attendance|yesno }}</td>
+</tr>
+{% endfor %}
+</table><br>
+
+
+<form action="/agenda/{{ event.id }}/confirm/" method="post">
+<div class="modules">
+<div class="form-row">
+ <input type="radio" name="attend" id="attend" value="True" /> <label for="attend">{% trans 'I am attending' %} </label><br />
+ <input type="radio" name="attend" id="attend" value="False" /> <label for="attend">{% trans 'I am not attending' %}</label><br />
+ <input type="radio" name="attend" id="attend" value="NULL" /> <label for="attend">{% trans 'I dont know' %}</label><br /></div>
+<input type="submit" value="Submit" />
+</form>
+</div>
+</div>
+{% endblock %}