lostplaces-backend/django_lostplaces/lostplaces/templates/place/place_delete.html

26 lines
889 B
HTML

{% extends 'global.html'%}
{% load static %}
{% load i18n %}
{% block title %}{% trans 'Delete lost place' %}{% endblock %}
{% block maincontent %}
<form class="LP-Form" method="POST">
<fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">{% trans 'Delete place' %}</legend>
{% csrf_token %}
<div class="LP-Form__Composition">
<div class="LP-Form__Field LP-Form__InfoText">
<p class="LP-Paragraph">{% blocktrans %}Are you sure you want to delete "{{place.name}}"?{% endblocktrans %}</p>
</div>
</div>
{% trans 'Delete' as action %}
<div class="LP-Form__Composition LP-Form__Composition--buttons">
{% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action=action %}
</div>
</fieldset>
</form>
{% endblock maincontent %}