summaryrefslogtreecommitdiff
path: root/templates/event.html
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-04-03 13:59:28 -0400
committercyfraeviolae <cyfraeviolae>2024-04-03 13:59:28 -0400
commit7e909fae848014ccfe0d3dd4c5aedb4ed4a2d9cd (patch)
tree3a3e22ac5e1d38fa9c53e2f92dbebb3bda588682 /templates/event.html
parentcbe81b2be3d77d1ded3d5e31f15339c033f75696 (diff)
valid
Diffstat (limited to 'templates/event.html')
-rw-r--r--templates/event.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/event.html b/templates/event.html
index 9171021..e9f7192 100644
--- a/templates/event.html
+++ b/templates/event.html
@@ -37,7 +37,7 @@
{% 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>
+ <input name="title" type="text" value="{{ event.title }}" required></input>
{% else %}
<h3>{{ event.title }}</h3>
{% endif %}
@@ -50,7 +50,7 @@
<br>
<span class="q">When?</span>
{% if manage %}
- <input name="when" class="when" type="datetime-local" value="{{ event.time }}" >
+ <input name="when" class="when" type="datetime-local" value="{{ event.time }}" required>
{% else %}
<input name="when" class="when" type="datetime-local" value="{{ event.time }}" disabled>
{% endif %}
@@ -59,7 +59,7 @@
<span class="q">Where?</span>
{% if manage %}
- <input name="where" type="text" value="{{ event.location }}"></input>
+ <input name="where" type="text" value="{{ event.location }}" required></input>
{% else %}
<a target="_blank" href="http://maps.google.com/?q={{ event.location }}">{{ event.location }}</a>
{% endif %}
@@ -69,7 +69,7 @@
<span class="q">What?</span>
<br>
{% if manage %}
- <textarea name="what" class="desc">{{event.description}}</textarea>
+ <textarea name="what" class="desc" required>{{event.description}}</textarea>
<br>
{% else %}
{{ event.description }}
@@ -100,7 +100,7 @@
{% else %}
<form method="POST" action="/symposium/event/{{ event.iden }}/join" class="join-form">
{% endif %}
- <input class="join-input" type="text" name="name">
+ <input class="join-input" type="text" name="name" required>
<button type="submit">Add attendee</button>
</form>
</div>