1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-26 16:15:25 +00:00
webvirtcloud/templates/common/confirm_delete.html

27 lines
856 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% load django_bootstrap5 %}
{% load bootstrap_icons %}
{% load i18n %}
2020-10-14 08:37:46 +00:00
{% block title %}{{ title }}{% endblock %}
2020-10-15 14:18:45 +00:00
{% block page_heading %}{{ title }}{% endblock page_heading %}
{% block content %}
2020-10-14 08:37:46 +00:00
<div class="row">
<div class="offset-3 col-6">
<form method="post">
{% csrf_token %}
<div class="alert alert-warning">
{%trans "Are you sure you want to delete" %} "{{ object }}"?
</div>
<div class="mb-0 float-end">
<a class="btn btn-primary" href="javascript:history.back()">{% bs_icon 'x' %} {% trans "Cancel" %}</a>
2020-10-14 08:37:46 +00:00
<button type="submit" class="btn btn-danger">
{% bs_icon 'trash' %} {% trans "Delete" %}
2020-10-14 08:37:46 +00:00
</button>
</div>
</form>
</div>
2020-10-14 08:37:46 +00:00
</div>
{% endblock %}