2021-05-17 16:27:27 -04:00
|
|
|
{% extends 'base/layout.html' %}
|
2016-03-01 11:23:03 -05:00
|
|
|
{% load form_helpers %}
|
|
|
|
|
|
|
|
{% block content %}
|
2021-05-23 14:55:32 -07:00
|
|
|
<div class="row mt-5">
|
|
|
|
|
|
|
|
<div class="col col-md-6 offset-md-3">
|
|
|
|
|
|
|
|
<form action="" method="post" class="form">
|
|
|
|
{% csrf_token %}
|
|
|
|
{% for field in form.hidden_fields %}
|
|
|
|
{{ field }}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
<h5 class="card-header">{% block confirmation_title %}{% endblock %}</h5>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
{% block message %}<p>Are you sure?</p>{% endblock %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-footer text-end">
|
|
|
|
<a href="{{ return_url }}" class="btn btn-outline-dark">Cancel</a>
|
|
|
|
<button type="submit" name="_confirm" class="btn btn-{{ button_class|default:"danger" }}">Confirm</button>
|
|
|
|
</div>
|
|
|
|
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|
2021-05-23 14:55:32 -07:00
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2016-03-01 11:23:03 -05:00
|
|
|
{% endblock %}
|