Translated place update button.

This commit is contained in:
2020-10-11 00:37:43 +02:00
parent 475a255851
commit 2d6ee4aef5
3 changed files with 9 additions and 3 deletions

View File

@@ -15,6 +15,7 @@
<p class="LP-Paragraph">{% trans 'Are you sure you want to delete' %} "{{place.name}}"?</p>
</div>
</div>
{% trans 'Delete' as action %}
<div class="LP-Form__Composition LP-Form__Composition--buttons">
{% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action=action %}

View File

@@ -39,8 +39,9 @@
</div>
</div>
{% trans 'Update' as action %}
<div class="LP-Form__Composition LP-Form__Composition--buttons">
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action='Update' %}
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action=action %}
</div>
</fieldset>