{% extends 'admin.html.twig' %} {% block title_start %}Emission{% endblock %} {% block stylesheets %} {{ parent() }} {{ encore_entry_link_tags('admin_emission_add') }} {% endblock %} {% block main %}
{{ form_start(formEmissionAdd) }} {{ form_errors(formEmissionAdd) }}

Ajouter une émission

{{ form_errors(formEmissionAdd.name) }} {{ form_widget(formEmissionAdd.name) }}
{{ form_errors(formEmissionAdd.description) }} {{ form_label(formEmissionAdd.description) }} {{ form_widget(formEmissionAdd.description) }}
{{ form_errors(formEmissionAdd.emissionDir) }} {{ form_widget(formEmissionAdd.emissionDir) }}
{{ form_errors(formEmissionAdd.image) }} {{ form_label(formEmissionAdd.image) }} {{ form_widget(formEmissionAdd.image) }}
{{ form_row(formEmissionAdd.save, {'attr': {'class': 'site-main-form-save btn-dark'} }) }} {# {{ form_row(formUserEdit.cancel, {'attr': {'class': 'site-main-form-cancel btn-dark'} }) }} #}
{{ form_end(formEmissionAdd) }}
{% endblock %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('admin_emission_add') }} {% endblock %}