Implanted submit/cancel partial into templates.
This commit is contained in:
parent
aa3922da50
commit
702ebd9137
@ -27,14 +27,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
||||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER %}
|
||||||
<button class="LP-Button">Submit</button>
|
|
||||||
</div>
|
|
||||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
|
||||||
<a class="LP-Link" href="{% url 'place_detail' pk=place.id%}">
|
|
||||||
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
@ -39,14 +39,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
||||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action='Create' %}
|
||||||
<button class="LP-Button">Create</button>
|
|
||||||
</div>
|
|
||||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
|
||||||
<a class="LP-Link" href="{% url 'place_list' %}">
|
|
||||||
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
@ -16,14 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
||||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
{% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action='Delete' %}
|
||||||
<button class="LP-Button">Delete</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>
|
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
@ -39,14 +39,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
||||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action='Update' %}
|
||||||
<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>
|
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
@ -13,14 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
||||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER %}
|
||||||
<button class="LP-Button">Submitt</button>
|
|
||||||
</div>
|
|
||||||
<div class="LP-Form__Field LP-Form__Button LP-Input">
|
|
||||||
<a class="LP-Link" href="{% url 'place_list' %}">
|
|
||||||
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user