diff options
| author | Jan Tuomi <jans.tuomi@gmail.com> | 2024-02-29 21:10:43 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-12-21 19:43:13 +0200 |
| commit | 5c64529e77f150f8b83930f17e792b2cb8e38a87 (patch) | |
| tree | 89b28f50812fb735dfdaa0bca24764959168d84d /templates/poll_info_table.html.j2 | |
| parent | 3661c687f0c54bd9f4e1075aa651bc612d634a13 (diff) | |
Add whole day mode, various improvements
Diffstat (limited to 'templates/poll_info_table.html.j2')
| -rw-r--r-- | templates/poll_info_table.html.j2 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/poll_info_table.html.j2 b/templates/poll_info_table.html.j2 new file mode 100644 index 0000000..7955ca8 --- /dev/null +++ b/templates/poll_info_table.html.j2 @@ -0,0 +1,24 @@ +<table> + <tbody> + <tr> + <td><label for="title">Title</label></td> + <td><input type="text" name="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> + </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> + </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> + </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> + </tr> + </tbody> +</table> |
