Merge pull request 'add more info to pages' (#1) from fram3d/kuhkal:master into master
Reviewed-on: #1
This commit is contained in:
commit
5f19d2c02d
@ -5,7 +5,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="ingredient_price">Cena</label>
|
<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>
|
</div>
|
||||||
<button class="btn btn-danger">
|
<button class="btn btn-danger">
|
||||||
Dodaj Sastojak
|
Dodaj Sastojak
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
<label for="recipe_name">Naziv: </label>
|
<label for="recipe_name">Naziv: </label>
|
||||||
<input class="form-control" type="text" name="recipe_name">
|
<input class="form-control" type="text" name="recipe_name">
|
||||||
</div>
|
</div>
|
||||||
|
<p> Recept za 10 obroka <p>
|
||||||
{% for ingredient in data["ingredients"] %}
|
{% for ingredient in data["ingredients"] %}
|
||||||
<div class="form-group">
|
<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">
|
<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