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/index.html.j2 | |
| parent | 3661c687f0c54bd9f4e1075aa651bc612d634a13 (diff) | |
Add whole day mode, various improvements
Diffstat (limited to 'templates/index.html.j2')
| -rw-r--r-- | templates/index.html.j2 | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/templates/index.html.j2 b/templates/index.html.j2 index f84b428..db458da 100644 --- a/templates/index.html.j2 +++ b/templates/index.html.j2 @@ -3,26 +3,7 @@ {% block content %} <h2>Create new diddle</h2> <form class="poll-form" action="/poll/create" method="post"> - <table> - <tbody> - <tr> - <td><label for="title">Title</label></td> - <td><input type="text" name="title" required></td> - </tr> - <tr> - <td><label for="description">Description (optional)</label></td> - <td><textarea name="description"></textarea></td> - </tr> - <tr> - <td><label for="author_name">Your name</label></td> - <td><input type="text" name="author_name" required></td> - </tr> - <tr> - <td><label for="author_email">Your email (optional)</label></td> - <td><input type="text" name="author_email"></td> - </tr> - </tbody> - </table> + {% include "poll_info_table.html.j2" %} <p>You can add options after submitting.</p> <input class="green" type="submit" value="Create"> |
