forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrooms.html
More file actions
53 lines (45 loc) · 1.71 KB
/
rooms.html
File metadata and controls
53 lines (45 loc) · 1.71 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{% extends "meetings/base_rooms_times.html" %}
{% load bootstrap3 %}
{% block subsection %}
<div class="module role-container">
<h2>Rooms</h2>
<div class="inline-group">
<div class="tabular inline-related">
<form id="meetings-meta-rooms" action="" method="post">{% csrf_token %}
{{ formset.management_form }}
{{ formset.non_form_errors }}
{% if options_form %}{{ options_form.errors }}{% endif %}
<table id="id_rooms_table" class="full-width">
<thead>
<tr>
{% for field in formset.forms.0.visible_fields %}
<th>{{ field.label|capfirst }}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for form in formset.forms %}
{% if form.non_field_errors %}
<tr><td colspan="3">{{ form.non_field_errors }}</td></tr>
{% endif %}
<tr class="{% cycle 'row1' 'row2' %}">
{% for hidden in form.hidden_fields %}
{{ hidden }}
{% endfor %}
{% for field in form.visible_fields %}
<td>
{{ field.errors }}
{{ field }}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
</div> <!-- iniline-related -->
</div> <!-- inline-group -->
{% if options_form %}{{ options_form }}{% endif %}
{% include "includes/buttons_save.html" %}
</form>
</div> <!-- module -->
{% endblock %}