This commit is contained in:
2023-01-31 23:43:08 +01:00
commit 04dbe6c309
25 changed files with 932 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<form method="POST">
<label for="recipe_name">Naziv: </label>
<input type="text" name="recipe_name">
<br>
{% for ingredient in data["ingredients"] %}
<input type="checkbox" id="{{ingredient.name}}" name="ingredients" value="{{ingredient.id}}"> <label for="{{ingredient.name}}">{{ingredient.name}}</label> <input step="0.01"type="number" name="{{ingredient.id}}_ammount" placeholder="kg/L">
<br>
{% endfor %}
<button>Dodaj recept</button>
</form>