Commit af86c454 authored by Mat's avatar Mat

hop

parent 554b676f
......@@ -42,22 +42,15 @@
{% endfor %}
{{ form_start(formCommande) }}
<ul class="commandeLegumes" data-prototype="{{ form_widget(formCommande.commandeLegumes.vars.prototype)|e }}">
<ul class="commandeLegumes">
{% for legume in formCommande.commandeLegumes %}
<li>
{#
{{ form_row(legume.prixUnitaire) }}
{{ form_row(legume.unite)
#}
{{ form_row(legume.quantite) }}
{{ form_row(legume.prix) }}
</li>
{% endfor %}
</ul>
{#
{{ form_row(formCommande.prixTotal) }}
#}
{{ form_end(formCommande) }}
......@@ -23,6 +23,7 @@
<div class="texte">
<h5>{{ legume.nom }}</h5>
<p>{{ legume.description }}</p>
<small>{{ legume.quantiteMin }}, {{ legume.quantiteMax }}, {{ legume.quantiteStep }}</small>
</div>
<div class="prixPoids">
<span class="prix">{{ legume.prixUnitaire }}</span>
......
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