forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathregular_session_edit.html
More file actions
59 lines (48 loc) · 2.06 KB
/
regular_session_edit.html
File metadata and controls
59 lines (48 loc) · 2.06 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
54
55
56
57
58
59
{% extends "base_site.html" %}
{% load staticfiles %}
{% block title %}Meetings{% endblock %}
{% block extrahead %}{{ block.super }}
{% endblock %}
{% block breadcrumbs %}{{ block.super }}
» <a href="{% url "ietf.secr.meetings.views.main" %}">Meetings</a>
» <a href="{% url "ietf.secr.meetings.views.view" meeting_id=meeting.number %}">{{ meeting.number }}</a>
» {{ session.group.acronym }}
{% endblock %}
{% block content %}
<div class="module">
<h2>Edit Session</h2>
<form id="meetings-schedule-form" method="post" action="">{% csrf_token %}
<div class="inline-related{% if forloop.last %} last-related{% endif %}">
<table class="full-width amstable">
<col width="200">
<tr>
<th>Day:</th>
<td>{% if timeslot %}{{ timeslot.time|date:"l" }}{% endif %}</td>
</tr>
<tr>
<th>Time:</th>
<td>{% if timeslot %}{{ timeslot.time|time:"H:i" }}{% endif %}</td>
</tr>
<tr>
<th>Room:</th>
<td>{% if timeslot %}{{ timeslot.location.name }}{% endif %}</td>
</tr>
<tr>
<th>Status:</th>
<td>{{ current_status_name }}</td>
</tr>
{{ form }}
</table>
</div> <!-- inline-related -->
<div class="button-group">
<ul>
<li><button type="submit" name="submit" value="Save">Save</button></li>
<li><button type="button" onclick="window.location='{% url "ietf.secr.meetings.views.regular_sessions" meeting_id=meeting.number schedule_name=schedule.name %}'">Back</button></li>
</ul>
</div> <!-- button-group -->
</form>
</div> <!-- module -->
{% endblock %}
{% block footer-extras %}
{% include "includes/meetings_footer.html" %}
{% endblock %}