add more info to pages #1
@ -5,7 +5,7 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="ingredient_price">Cena</label>
|
||||
<input class="form-control" id="ingredient_price" type="number" required name="price" placeholder="Cena...">
|
||||
<input class="form-control" id="ingredient_price" type="number" required name="price" placeholder="Cena po kg...">
|
||||
</div>
|
||||
<button class="btn btn-danger">
|
||||
Dodaj Sastojak
|
||||
|
@ -3,6 +3,7 @@
|
||||
<label for="recipe_name">Naziv: </label>
|
||||
<input class="form-control" type="text" name="recipe_name">
|
||||
</div>
|
||||
<p> Recept za 10 obroka <p>
|
||||
{% for ingredient in data["ingredients"] %}
|
||||
<div class="form-group">
|
||||
<input class="form-check-input"type="checkbox" id="{{ingredient.name}}" name="ingredients" value="{{ingredient.id}}"> <label class="form-check-label" for="{{ingredient.name}}">{{ingredient.name}}</label> <input class="form-control" step="0.01" type="number" name="{{ingredient.id}}_ammount" placeholder="kg/L">
|
||||
|
Loading…
Reference in New Issue
Block a user