Implanted submit/cancel partial into templates.
This commit is contained in:
@@ -39,14 +39,7 @@
|
||||
</div>
|
||||
|
||||
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
||||
<button class="LP-Button">Update</button>
|
||||
</div>
|
||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
||||
<a class="LP-Link" href="{% url 'place_detail' pk=place.pk %}">
|
||||
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
|
||||
</a>
|
||||
</div>
|
||||
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action='Update' %}
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
|
Reference in New Issue
Block a user