forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsession_details_form.html
More file actions
25 lines (25 loc) · 1019 Bytes
/
session_details_form.html
File metadata and controls
25 lines (25 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{# Copyright The IETF Trust 2007-2020, All Rights Reserved #}
<div class="session-details-form" data-prefix="{{ form.prefix }}">
{% if hidden %}{{ form.name.as_hidden }}{{ form.purpose.as_hidden }}{{ form.type.as_hidden }}{{ form.requested_duration.as_hidden }}
{% else %}
<table>
<tr>
<th>{{ form.name.label_tag }}</th>
<td>{{ form.name }}{{ form.purpose.errors }}</td>
</tr>
<tr>
<th>{{ form.purpose.label_tag }}</th>
<td>
{{ form.purpose }} {{ form.type }}
{{ form.purpose.errors }}{{ form.type.errors }}
</td>
</tr>
<tr>
<th>{{ form.requested_duration.label_tag }}</th>
<td>{{ form.requested_duration }}{{ form.requested_duration.errors }}</td>
</tr>
</table>
{% endif %}
{# hidden fields shown whether or not the whole form is hidden #}
{{ form.attendees.as_hidden }}{{ form.comments.as_hidden }}{{ form.id.as_hidden }}{{ form.on_agenda.as_hidden }}{{ form.DELETE.as_hidden }}
</div>