aboutsummaryrefslogtreecommitdiffstats
path: root/templates/poll_info_table.html.j2
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2024-08-20 11:07:37 +0300
committerJan Tuomi <jan@jantuomi.fi>2024-12-21 19:43:13 +0200
commitd53e5e61d25405db63cc2e2817186d19dbff8189 (patch)
treeaa5e2f86f3dbe37b151d3a028020fa3e4ae50973 /templates/poll_info_table.html.j2
parent218f9a92813eda3268144aa126363ff49285a6ee (diff)
A11y improvements
Diffstat (limited to 'templates/poll_info_table.html.j2')
-rw-r--r--templates/poll_info_table.html.j210
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/poll_info_table.html.j2 b/templates/poll_info_table.html.j2
index 7955ca8..3eca73f 100644
--- a/templates/poll_info_table.html.j2
+++ b/templates/poll_info_table.html.j2
@@ -2,23 +2,23 @@
<tbody>
<tr>
<td><label for="title">Title</label></td>
- <td><input type="text" name="title" value="{% if poll %}{{ poll.title }}{% endif %}" required></td>
+ <td><input type="text" name="title" id="title" value="{% if poll %}{{ poll.title }}{% endif %}" required></td>
</tr>
<tr>
<td><label for="description">Description (optional)</label></td>
- <td><textarea name="description">{% if poll %}{{ poll.description }}{% endif %}</textarea></td>
+ <td><textarea name="description" id="description">{% if poll %}{{ poll.description }}{% endif %}</textarea></td>
</tr>
<tr>
<td><label for="author_name">Your name</label></td>
- <td><input type="text" name="author_name" value="{% if poll %}{{ poll.author_name }}{% endif %}" required></td>
+ <td><input type="text" name="author_name" id="author_name" value="{% if poll %}{{ poll.author_name }}{% endif %}" required></td>
</tr>
<tr>
<td><label for="author_email">Your email (optional)</label></td>
- <td><input type="text" name="author_email" value="{% if poll %}{{ poll.author_email }}{% endif %}"></td>
+ <td><input type="text" name="author_email" id="author_email" value="{% if poll %}{{ poll.author_email }}{% endif %}"></td>
</tr>
<tr>
<td><label for="is_whole_day">Whole day event?</label></td>
- <td class="checkbox-field"><input type="checkbox" name="is_whole_day" {% if poll and poll.is_whole_day %}checked{% endif %}></td>
+ <td class="checkbox-field"><input type="checkbox" name="is_whole_day" id="is_whole_day" {% if poll and poll.is_whole_day %}checked{% endif %}></td>
</tr>
</tbody>
</table>