forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit_timeslot.html
More file actions
35 lines (31 loc) · 999 Bytes
/
edit_timeslot.html
File metadata and controls
35 lines (31 loc) · 999 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
26
27
28
29
30
31
32
33
34
35
{% extends "base.html" %}
{# Copyright The IETF Trust 2021, All Rights Reserved #}
{% load origin %}
{% load bootstrap3 %}
{% block pagehead %}
{{ form.media.css }}
{% endblock %}
{% block title %}Edit timeslot "{{ timeslot.name }}" for {{ timeslot.meeting }}{% endblock %}
{% block content %}
{% origin %}
<h1>Edit timeslot "{{ timeslot.name }}" for {{ timeslot.meeting }}</h1>
{% if sessions %}
<div class="alert alert-warning">
This timeslot currently has the following sessions assigned to it:
{% for s in sessions %}
<div>{{s}}</div>
{% endfor %}
</div>
{% endif %}
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% buttons %}
<button type="submit" class="btn btn-primary">Save</button>
<a class="btn btn-default" href="{% url 'ietf.meeting.views.edit_timeslots' num=timeslot.meeting.number %}">Cancel</a>
{% endbuttons %}
</form>
{% endblock %}
{% block js %}
{{ form.media.js }}
{% endblock %}