datatracker/ietf/templates/meeting/edit_timeslot.html
2021-10-12 17:08:58 +00:00

35 lines
999 B
HTML

{% 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 %}