summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-04-03 12:16:26 -0400
committercyfraeviolae <cyfraeviolae>2024-04-03 12:16:26 -0400
commitaaf5ab84eb155a0f76719a2d5253272c5053d247 (patch)
treea9524f291bfe53fd89bb016b58d6482e6be8beee /templates
parent55cca54a61fdab15b3733dca7334996618b014ff (diff)
removing
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>