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

26 lines
933 B
HTML
Raw Normal View History

{% extends 'global.html'%}
{% load static %}
2020-10-01 23:05:34 +02:00
{% load i18n %}
{% block title %}{% translate '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">{% translate 'Delete place' %}</legend>
{% csrf_token %}
<div class="LP-Form__Composition">
<div class="LP-Form__Field LP-Form__InfoText">
<p class="LP-Paragraph">{% blocktranslate with place_name=place.name%}Are you sure you want to delete {{place_name}}?{% endblocktranslate %}</p>
</div>
</div>
2020-10-11 00:37:43 +02:00
{% translate '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 %}