{% extends 'admin/base.html.twig' %} {% block content %}
{{ form_start(form) }}

{{ 'admin.article.edit.title'|trans }}


{{ form_row(form.title) }}
{{ form_row(form.subtitle) }}
{{ form_row(form.slug) }}
{{ form_row(form.status) }}
{{ form_row(form.categories) }}
{{ form_row(form.cgaConcerned) }}
{{ form_row(form.startDateDisplay) }}
{{ form_widget(form.endDateDisplay) }} {{ form_errors(form.endDateDisplay) }}
{{ form_widget(form.dateDisplay) }} {{ form_errors(form.dateDisplay) }}
{{ form_row(form.file) }} {{ form_row(form.summary) }} {{ form_row(form.content) }}
{{ form_row(form.author) }}
{{ form_row(form.source) }}
{{ form_row(form.email) }}
{{ form_row(form.metaTitle) }}
{{ form_row(form.metaDescription) }}
{% include 'admin/common/components/_submit.html.twig' with { 'route': path('admin_article_index') } %}
{{ form_end(form) }}
{{ 'admin.attachment.create'|trans }}

{{ 'admin.attachment.title'|trans }}

{% if article.attachments is not empty %} {% for attachment in article.attachments %} {% endfor %}
{{ 'form.attachment.label.title'|trans }} Action
{{ attachment.title }} {% if has_access_rules(attachment.objectReference) == true %} {% else %} {% endif %}
{% else %}

{{ 'admin.attachment.empty_message'|trans }}

{% endif %}
{% include 'admin/common/components/_clear_date_js.html.twig' with { clear_type: 'article' } %} {% endblock %}