{{ form_start(form) }}
{{ form_row(form.price, {'attr' : { 'placeholder' : "Le price de la couture" | trans }}) }}
{{ form_row(form.currency, {'attr' : { 'placeholder' : "La monnaie" | trans }}) }}
{{ form_row(form.type, {'attr' : { 'placeholder' : "La monnaie" | trans }}) }}
{{ form_row(form.status, {'attr' : { 'placeholder' : "La monnaie" | trans }}) }}
{{ form_row(form.dueDate, {'attr' : { 'placeholder' : "La monnaie" | trans }}) }}
{{ form_row(form.client, {'attr' : { 'placeholder' : "La monnaie" | trans }}) }}
{% for item in form.measuredata %} {% endfor %}
Mesure Valeur Note
{{ form_row(item.measure, { label: false, row_attr: {class: 'mb-1'}, attr: { placeholder: 'Walk the pygmy hippo' } }) }} {{ form_row(item.measureValue, { row_attr: {class: ''}, label: false, }) }} {{ form_row(item.note, { row_attr: {class: ''}, label: false, }) }} {{ form_row(item.vars.button_delete, {label: 'X', attr: {class: 'btn btn-outline-danger'}}) }}
{{ form_widget(form.measuredata.vars.button_add, {label: '+ Add Item', attr: {class: 'btn btn-outline-primary'}}) }} {{ form_end(form) }}