{% extends 'base.html.twig' %} {% form_theme formPrice 'bootstrap_4_layout.html.twig' %} {% block container_start %}

Création d'une prestation pour un client

{{ form_start(formPrice) }} {% if formPrice.customer is defined %} {{ form_row(formPrice.customer,{'attr':{'placeholder':'Prix'},'label':'Client'}) }} {% endif %} {% if formPrice.service is defined %} {{ form_row(formPrice.service,{'attr':{'placeholder':'Prix'},'label':'Prestation'}) }} {% endif %} {{ form_row(formPrice.price,{'attr':{'placeholder':'Prix'},'label':'Tarif'}) }} {{ form_row(formPrice.beginningDateAt,{'attr':{'value': "now" | date ( "Y-m-d")},'label':'Date de début'}) }} {{ form_row(formPrice.endDateAt,{'label':'Date de fin'}) }} {{ form_row(formPrice.comment,{'attr':{'placeholder':'Commentaire'},'label':'Commentaire'}) }} {{ form_end(formPrice) }}
{% endblock %}