Commit 54cdb557 authored by Mat's avatar Mat

form Commande: balise le formulaire pour mieux le manipuler en JS

parent 6219c528
......@@ -42,15 +42,14 @@
{% endfor %}
{{ form_start(formCommande) }}
<ul class="commandeLegumes">
<ul id="commandeLegumes">
{% for legume in formCommande.commandeLegumes %}
<li>
<li class="formItem" data-legume-id="{{ legume.vars.data.offreLegume.id }}">
{{ form_row(legume.quantite) }}
{{ form_row(legume.prix) }}
</li>
{% endfor %}
</ul>
{{ form_end(formCommande) }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment