Translated Delete action via variable.
This commit is contained in:
parent
da60d81e90
commit
eea01cd569
@ -15,9 +15,9 @@
|
|||||||
<p class="LP-Paragraph">{% translate 'Are you sure you want to delete' %} "{{place.name}}"?</p>
|
<p class="LP-Paragraph">{% translate 'Are you sure you want to delete' %} "{{place.name}}"?</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% translate 'Delete' as action %}
|
||||||
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
||||||
{% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action='Delete' %}
|
{% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action=action %}
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user