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

24 lines
836 B
HTML
Raw Normal View History

{% extends 'global.html'%}
{% load static %}
{% block title %}Lost Place Deletion{% 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">Delete place</legend>
{% csrf_token %}
2020-08-10 20:10:22 +02:00
<div class="LP-Form__Composition LP-Form__Composition--breakable">
<p class="LP-Paragraph">Are you sure you want to delete "{{place.name}}"?</p>
<div class="LP-Form__Composition">
2020-08-12 15:51:17 +02:00
<a href="{% url 'place_detail' pk=place.pk %}">
2020-08-12 16:19:52 +02:00
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
</a>
<input type="submit" class="LP-Button" value="Delete"/>
</div>
</div>
</fieldset>
</form>
{% endblock maincontent %}