Recettes : on affiche toujours...
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
<span class="difficulte"><b>{intl l='Difficulty' d='recettes'}</b><img src="{image file='assets/img/cellular.svg' source='Recettes'}" alt="Difficulty">{$label_difficulty}</span>
|
||||
</div>
|
||||
<br>
|
||||
<form action="/admin/module/Recettes/addtocart" method="post">
|
||||
<div class="row">
|
||||
<div class="photo-principale col-md-4">
|
||||
{loop type="image" name="image-loop" content=$content_id visible=true}
|
||||
@@ -58,16 +59,22 @@
|
||||
<thead>
|
||||
<th>{intl l="Ingredient" d="recettes"}</th>
|
||||
<th>{intl l="Quantity needed" d="recettes"}</th>
|
||||
<th>{intl l="Add to cart" d="recettes"}</th>
|
||||
<th>{intl l="Quantity proposed" d="recettes"}</th>
|
||||
<th>{intl l="Select" d="recettes"}</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{loop type="recipe_products" name="products-loop" recipe_id=$ID}
|
||||
<tr>
|
||||
<td class="cellule-produit">{$PRODUCT_LABEL}</td>
|
||||
<td class="cellule-quantite">{$QUANTITY}</td>
|
||||
<td><input type="checkbox" id="product-{$PSE_ID}" class="cellule-checkbox"></td>
|
||||
<td class="cellule-large">{$PRODUCT_LABEL}</td>
|
||||
<td class="cellule-etroite">{$QUANTITY_NEEDED}</td>
|
||||
<td class="cellule-etroite">{$QUANTITY_PROPOSED}</td>
|
||||
<td class="cellule-etroite"><input type="checkbox" id="product-{$PSE_ID}" class="cellule-checkbox"></td>
|
||||
</tr>
|
||||
{/loop}
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
<td><input type="submit" class="button recette-bouton" value="{intl l='Add to cart' d='recettes'}"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br>
|
||||
@@ -75,12 +82,22 @@
|
||||
<label class="autres-ingredients">{$OTHER_INGREDIENTS|unescape:"html" nofilter}</label>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<br>
|
||||
|
||||
<br>
|
||||
<div class="row">
|
||||
<table class="table table-striped table-steps">
|
||||
{loop type="recipe_steps" name="steps-loop" recipe_id=$ID}
|
||||
<tr>
|
||||
<td class="number">{$STEP}</td>
|
||||
<td class="description">{$DESCRIPTION}</td>
|
||||
</tr>
|
||||
{/loop}
|
||||
</table>
|
||||
</div>
|
||||
{/loop}
|
||||
|
||||
</article>
|
||||
|
||||
<br>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
Reference in New Issue
Block a user