Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mathieu
potage
Commits
af86c454
Commit
af86c454
authored
Sep 18, 2018
by
Mat
Browse files
hop
parent
554b676f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/PotageBundle/Resources/views/Membre/detailCommande.html.twig
View file @
af86c454
...
@@ -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
)
}}
src/PotageBundle/Resources/views/Membre/offreALaCarte.html.twig
View file @
af86c454
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment