blob: 3eca73f70197b512d0bde3078e095f8b86c14069 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<table>
<tbody>
<tr>
<td><label for="title">Title</label></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" 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" 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" 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" id="is_whole_day" {% if poll and poll.is_whole_day %}checked{% endif %}></td>
</tr>
</tbody>
</table>
|