{% extends 'layout.html' %} {% block content %} {% if class_.attributes.get('location') %}
{{ form|display_form(manual_page='entity/' + class_.group['name'])|safe }}
{% else %}
{% if class_.group['name'] == 'file' %}

{{ _('max size')|uc_first }}: {{ g.settings.file_upload_max_size }} MB. {{ _('if exceeded you will receive a connection error')|uc_first }}. {{ _('allowed extensions')|uc_first }}: {{ ', '.join(g.settings.file_upload_allowed_extension) }}

{% endif %} {% if class_.group['name'] == 'file' and not writable %} {{ _('directory not writable')|uc_first }} {% else %} {{ form|display_form(manual_page='entity/' + class_.group['name'])|safe }} {% endif %}
{% endif %}
{{ class_.group['name']|citation_example|safe }}
{% endblock %}