This commit is contained in:
2021-04-02 22:06:52 +02:00
parent 52271811ad
commit 092b91825f
20 changed files with 73 additions and 73 deletions

View File

@@ -2,12 +2,12 @@
{% load static %}
{% load i18n %}
# {% block title %}{% trans 'Create place' %}{% endblock %}
# {% block title %}{% translate 'Create place' %}{% endblock %}
{% block maincontent %}
<form class="LP-Form" method="POST" enctype="multipart/form-data">
<fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">{% trans 'Create place' %}</legend>
<legend class="LP-Form__Legend">{% translate 'Create place' %}</legend>
{% csrf_token %}
<div class="LP-Form__Composition LP-Form__Composition--breakable">
<div class="LP-Form__Field">
@@ -39,7 +39,7 @@
</div>
</div>
{% trans 'Create' as action %}
{% translate 'Create' as action %}
<div class="LP-Form__Composition LP-Form__Composition--buttons">
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action=action %}
</div>