Added named cancel button that redirects to success_url.

This commit is contained in:
2020-08-12 11:28:11 +02:00
parent 147c0e8dfe
commit 8b01bbb2ce
2 changed files with 9 additions and 4 deletions

View File

@@ -12,9 +12,10 @@
<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"/>
<input type="submit" class="LP-Button LP-Button--cancel" name="cancel" value="Cancel"/>
<input type="submit" class="LP-Button" name="Delete" value="Delete"/>
</div>
</div>
</fieldset>
</form>
{% endblock maincontent %}
{% endblock maincontent %}