mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-28 09:05:22 +00:00
073b7b6717
* Bootstrap5 migration
27 lines
No EOL
844 B
HTML
27 lines
No EOL
844 B
HTML
{% extends "base.html" %}
|
|
{% load django_bootstrap5 %}
|
|
{% load icons %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{{ title }}{% endblock %}
|
|
|
|
{% block page_heading %}{{ title }}{% endblock page_heading %}
|
|
|
|
{% block content %}
|
|
<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()">{% icon 'times' %} {% trans "Cancel" %}</a>
|
|
<button type="submit" class="btn btn-danger">
|
|
{% icon 'trash' %} {% trans "Delete" %}
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |