diff options
Diffstat (limited to 'templates/event.html')
-rw-r--r-- | templates/event.html | 10 |
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> |