2015-10-16 17:53:02 +00:00
|
|
|
{% load i18n bootstrap %}
|
2019-12-15 04:45:00 +00:00
|
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
|
|
<div class="modal-content">
|
2015-10-16 17:53:02 +00:00
|
|
|
<div class="modal-header">
|
2019-12-15 04:45:00 +00:00
|
|
|
<h5 class="modal-title">{% trans "Edit Slot" %}</h5>
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
2015-10-16 17:53:02 +00:00
|
|
|
</div>
|
2019-12-15 04:45:00 +00:00
|
|
|
|
|
|
|
<div class="modal-body">
|
|
|
|
<form class="form-horizontal" id="slotEditForm" class="modal-form" method="POST" action="{% url "schedule_slot_edit" slug slot.pk %}">
|
2015-10-16 17:53:02 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
{{ form|bootstrap }}
|
2019-12-15 04:45:00 +00:00
|
|
|
</form>
|
2015-10-16 17:53:02 +00:00
|
|
|
</div>
|
2019-12-15 04:45:00 +00:00
|
|
|
|
2015-10-16 17:53:02 +00:00
|
|
|
<div class="modal-footer">
|
2019-12-15 04:45:00 +00:00
|
|
|
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
|
|
|
<button type="submit" class="btn btn-primary">Save changes</button>
|
2015-10-16 17:53:02 +00:00
|
|
|
</div>
|
2019-12-15 04:45:00 +00:00
|
|
|
</div>
|