{#{{ form_start(form, {'attr': {'class': 'space-y-6'}}) }}#} {#
#} {# #}{# Fichier PDF #} {#
#} {# {{ form_label(form.pdfFile, 'Téléverser l\'épreuve (PDF)', {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }}#} {#
#} {# {{ form_widget(form.pdfFile, {'attr': {'class': 'block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer focus:outline-none'}}) }}#} {#
#} {# {{ form_errors(form.pdfFile) }}#} {#
#} {# #}{# Matière #} {#
#} {# {{ form_label(form.matiere, 'Matière', {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }}#} {#
#} {# {{ form_widget(form.matiere, {'attr': {'class': 'select border border-gray-300 bg-white w-full rounded-md shadow-sm'}}) }}#} {#
#} {# {{ form_errors(form.matiere) }}#} {#
#} {# #}{# Année #} {#
#} {# {{ form_label(form.annee, 'Année', {'label_attr': {'class': 'block text-sm font-medium text-gray-700'}}) }}#} {#
#} {# {{ form_widget(form.annee, {'attr': {'class': 'select border border-gray-300 bg-white w-full rounded-md shadow-sm'}}) }}#} {#
#} {# {{ form_errors(form.annee) }}#} {#
#} {# #}{# Séries (checkboxes) #} {#
#} {# {{ form_label(form.series, 'Séries', {'label_attr': {'class': 'block text-sm font-medium text-gray-700 mb-2'}}) }}#} {#
#} {# {% for serie in form.series %}#} {#
#} {# #} {#
#} {# {% endfor %}#} {#
#} {# {{ form_errors(form.series) }}#} {#
#} {# #}{# Est-ce une correction ? #} {#
#} {# #} {# {{ form_errors(form.isCorrection) }}#} {#
#} {# #}{# Session normale ? #} {#
#} {# #} {# {{ form_errors(form.is_normale_session) }}#} {#
#} {#
#} {# Bouton de soumission #} {#
#} {# #} {#
#} {#{{ form_end(form) }}#} {{ form_start(form, {'attr': {'class': 'space-y-6'}}) }}
{# Fichier PDF #}
{{ form_label(form.pdfFile, 'Téléverser l\'épreuve (PDF)', {'label_attr': {'class': 'block text-sm font-medium text-gray-300 dark:text-gray-200'}}) }}
{{ form_widget(form.pdfFile, {'attr': {'class': 'block w-full text-sm text-gray-100 dark:text-gray-200 bg-gray-700 dark:bg-gray-800 border border-gray-600 dark:border-gray-600 rounded-lg cursor-pointer focus:outline-none'}}) }}
{{ form_errors(form.pdfFile) }}
{# Matière #}
{{ form_label(form.matiere, 'Matière', {'label_attr': {'class': 'block text-sm font-medium text-gray-300 dark:text-gray-200'}}) }}
{{ form_widget(form.matiere, {'attr': {'class': 'select border border-gray-600 dark:border-gray-600 bg-gray-700 dark:bg-gray-800 w-full rounded-md shadow-sm text-gray-100 dark:text-gray-200'}}) }}
{{ form_errors(form.matiere) }}
{# Année #}
{{ form_label(form.annee, 'Année', {'label_attr': {'class': 'block text-sm font-medium text-gray-300 dark:text-gray-200'}}) }}
{{ form_widget(form.annee, {'attr': {'class': 'select border border-gray-600 dark:border-gray-600 bg-gray-700 dark:bg-gray-800 w-full rounded-md shadow-sm text-gray-100 dark:text-gray-200'}}) }}
{{ form_errors(form.annee) }}
{# Séries (checkboxes) #}
{{ form_label(form.series, 'Séries', {'label_attr': {'class': 'block text-sm font-medium text-gray-300 dark:text-gray-200 mb-2'}}) }}
{% for serie in form.series %}
{% endfor %}
{{ form_errors(form.series) }}
{# Est-ce une correction ? #}
{{ form_errors(form.isCorrection) }}
{# Session normale ? #}
{{ form_errors(form.is_normale_session) }}
{# Bouton de soumission #}
{{ form_end(form) }}