Added submit/cancel partial. Cancel redirects to referror or home.

This commit is contained in:
Marcus Scholz 2020-09-28 21:54:09 +02:00
parent 61566714a3
commit d6c609d107

View File

@ -0,0 +1,8 @@
<div class="LP-Form__Field LP-Form__Button LP-Input">
<button class="LP-Button">Submit</button>
</div>
<div class="LP-Form__Field LP-Form__Button LP-Input">
<a class="LP-Link" href="{% if referrer %} {{ referrer }} {% else %} {% url 'lostplaces_home' %}{% endif %}">
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
</a>
</div>