{% if inlineUpload is not defined %} {% set inlineUpload = 0 %} {% endif %} {% if popUpBrowser is not defined %} {% set popUpBrowser = 0 %} {% endif %} {% if establishmentId is not defined %} {% set establishmentId = 0 %} {% endif %} {% if roomId is not defined %} {% set roomId = 0 %} {% endif %} {% if contentId is not defined %} {% set contentId = 0 %} {% endif %} {% if listingId is not defined %} {% set listingId = 0 %} {% endif %} {% if fileI18nId is not defined %} {% set fileI18nId = 0 %} {% endif %} {% if formTag is not defined %} {% set formTag = 1 %} {% endif %} {% if uniqueId is not defined %} {% set uniqueId = '' %} {% endif %}
{% if formTag > 0 %}
{% endif %} {% if fileId != '' and fileId != '0' %}
{{ file.id|file_html(250)|raw }}

{% endif %}
{% set dzName = form.vars.full_name|replace({"_files_i18n": ""}) %}
{{ form_label(form.title) }}
{{ form_widget(form.title) }} {{ form_errors(form.title) }}
{{ form_label(form.caption) }}
{{ form_widget(form.caption) }} {{ form_errors(form.caption) }}
{{ form_label(form.description) }}
{{ form_widget(form.description) }} {{ form_errors(form.description) }}
{{ form_label(form.key_words) }}
{{ form_widget(form.key_words) }} {{ form_errors(form.key_words) }}
{{ form_label(form.approved) }}
{{ form_widget(form.approved) }} {{ form_errors(form.approved) }}

{{ 'By checking this box I confirm that I own the rights to this photo, or duly represent those who do, and I have all appropriate permissions to upload ' ~ 'and publish this document or photo on this site.'|phrase }}

{{ form_rest(form) }} {% if formTag > 0 %}
{% endif %}