{% extends 'global.html'%} {% load static %} {% load i18n %} # {% block title %}{% trans 'Create place' %}{% endblock %} {% block maincontent %}
{% trans 'Create place' %} {% csrf_token %}
{% include 'partials/form/inputField.html' with field=place_form.name %}
{% include 'partials/form/inputField.html' with field=place_form.location %}
{% include 'partials/form/inputField.html' with field=place_form.latitude %}
{% include 'partials/form/inputField.html' with field=place_form.longitude %}
{% include 'partials/form/inputField.html' with field=place_form.description %}
{% include 'partials/form/inputField.html' with field=place_image_form.filename %}
{% trans 'Create' as action %}
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action=action %}
{% endblock maincontent %}