Commit af86c454 authored by Mat's avatar Mat

hop

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