{% extends 'global.html'%} {% load static %} {% load i18n %} # {% block title %}{% translate 'Create place' %}{% endblock %} {% block maincontent %}
{% translate '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 %}
{% translate 'Create' as action %}
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action=action %}
{% endblock maincontent %}