summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/event.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/templates/event.html b/templates/event.html
index 687d696..925a707 100644
--- a/templates/event.html
+++ b/templates/event.html
@@ -34,8 +34,8 @@
<br>
<hr>
{% endif %}
- <form method="POST" action="/symposium/event/{{ event.iden }}/edit?password={{event.password}}">
{% if manage %}
+ <form method="POST" action="/symposium/event/{{ event.iden }}/edit?password={{event.password}}">
<span class="q">Title:</span>
<input name="title" type="text" value="{{ event.title }}"></input>
{% else %}
@@ -81,12 +81,18 @@
<button>Save changes</button>
<br>
<br>
- {% endif %}
</form>
+ {% endif %}
<span class="q">Who?</span>
<br>
{% for name in event.get_invites() %}
- &mdash; {{ name }}
+ &mdash; {{ name }}
+ {% if manage %}
+ <form class="remove" method="POST" action="/symposium/event/{{ event.iden }}/remove?password={{ event.password }}">
+ <input type="hidden" name="name" value="{{ name }}">
+ <button href="#">remove</button>
+ </form>
+ {% endif %}
<br>
{% endfor %}
{% if manage %}
@@ -94,7 +100,7 @@
{% else %}
<form method="POST" action="/symposium/event/{{ event.iden }}/join" class="join-form">
{% endif %}
- <input type="text" name="name">
+ <input class="join-input" type="text" name="name">
<button type="submit">Add attendee</button>
</form>
</div>