Adjusted templates

This commit is contained in:
2020-08-10 20:10:22 +02:00
parent 30e6c6fda6
commit 86d7212060
3 changed files with 31 additions and 15 deletions

View File

@@ -4,15 +4,17 @@
{% block title %}Lost Place Deletion{% endblock %}
{% block maincontent %}
<form class="" method="POST" enctype="multipart/form-data">
<fieldset class="">
<legend class="">Delete place</legend>
<form class="LP-Form" method="POST">
<fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">Place löschen</legend>
{% csrf_token %}
<p>Are you sure you want to delete {{place.name}}?</p>
{{ form.as_p }}
<div class="">
<input type="submit" class="LP-Button" value="Delete"/>
</div>
</fieldset>
<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">
<input type="submit" class="LP-Button" value="Löschen"/>
</div>
</div>
</fieldset>
</form>
{% endblock maincontent %}