Beginning of frontend + recipe editing
[recipes.git] / backend / templates / edit_recipe.html
1 {% extends "base_with_list.html" %}
2
3 {% block content %}
4
5 <h2 class="recipe-title" >{{ current_recipe.title }}</h2>
6
7 <label for="title_field">Title</label>
8 <input id="title_field" type="text" name="title" value="{{ current_recipe.title }}" autocapitalize="none" autocomplete="title" autofocus="autofocus" />
9
10 {% match current_recipe.description %}
11 {% when Some with (description) %}
12 <div class="recipe-description" >
13 {{ description|markdown }}
14 </div>
15 {% when None %}
16 {% endmatch %}
17
18 {% endblock %}