summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/event.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/event.html b/templates/event.html
index 2440f42..207ac87 100644
--- a/templates/event.html
+++ b/templates/event.html
@@ -83,11 +83,15 @@
</form>
<span class="q">Who?</span>
<br>
- {% for name in event.invites %}
+ {% for name in event.get_invites() %}
&mdash; {{ name }}
<br>
{% endfor %}
+ {% if manage %}
+ <form method="POST" action="/symposium/event/{{ event.iden }}/join?password={{ event.password }}" class="join-form">
+ {% else %}
<form method="POST" action="/symposium/event/{{ event.iden }}/join" class="join-form">
+ {% endif %}
<input type="text" name="name">
<button type="submit">Add attendee</button>
</form>