{% extends 'base.html.twig' %} {% block title %}Ajouter une représentation{% endblock %} {% block body %}
{{ form_start(form, {'action': path('representation_edit', {'idRepresensation':representation.id}), 'attr': {'class': 'row g-3'}}) }} {{ form_errors(form) }}
{{ form_label(form.date, 'Date du spectacle', {'attr': {'class': 'form-label'}}) }} {{ form_widget(form.date, {'attr': {'class': 'form-control'}}) }}
{{ form_label(form.heure, 'Heure du spectacle', {'attr': {'class': 'form-label'}}) }} {{ form_widget(form.heure, {'attr': {'class': 'form-control'}}) }}
{{ form_label(form.spectacle, 'Spectacle', {'attr': {'class': 'form-label'}}) }} {{ form_widget(form.spectacle, {'attr': {'class': 'form-select'}}) }}
{{ form_label(form.heureRdv, 'Heure du rendez-vous', {'attr': {'class': 'form-label'}}) }} {{ form_widget(form.heureRdv, {'attr': {'class': 'form-control'}}) }}
{{ form_label(form.salle, 'Salle', {'attr': {'class': 'form-label'}}) }} {{ form_widget(form.salle, {'attr': {'class': 'form-select'}}) }}
{{ form_label(form.reservationButton, 'Code HTML de la billeterie (Helloasso)', {'attr': {'class': 'form-label'}}) }} {{ form_widget(form.reservationButton, {'attr': {'class': 'form-control'}}) }}
{{ form_end(form) }}
{% endblock %} {% block javascripts %} {% endblock %}