1886323d74
Boot custom CSS, and put some base, standard css in its place. Shame I did not start with fresh Bootstrap4, but oh well. Some more templates could be made to make this less messy, which would be good.
14 lines
535 B
HTML
14 lines
535 B
HTML
{% load i18n bootstrap %}
|
|
<form class="form-horizontal" id="slotEditForm" class="modal-form" method="POST" action="{% url "schedule_slot_edit" slug slot.pk %}">
|
|
<div class="modal-header">
|
|
<a class="close" data-dismiss="modal">×</a>
|
|
<h3>{% trans "Edit Slot" %}</h3>
|
|
</div>
|
|
<div class="modal-body" style="height:350px">
|
|
{% csrf_token %}
|
|
{{ form|bootstrap }}
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="submit" class="btn btn-primary">Save</button>
|
|
</div>
|
|
</form>
|