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

26 lines
913 B
HTML
Raw Permalink Normal View History

{% extends 'global.html'%}
{% load static %}
2020-10-01 23:05:34 +02:00
{% load i18n %}
2020-10-11 21:27:27 +02:00
{% block title %}{% trans 'Delete lost place' %}{% endblock %}
{% block maincontent %}
2020-08-10 20:10:22 +02:00
<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 with place_name=place.name%}Are you sure you want to delete {{place_name}}?{% endblocktrans %}</p>
</div>
</div>
2020-10-11 00:37:43 +02:00
{% trans 'Delete' as action %}
<div class="LP-Form__Composition LP-Form__Composition--buttons">
2020-10-10 23:40:21 +02:00
{% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action=action %}
</div>
</fieldset>
</form>
{% endblock maincontent %}