Lot of thing
This commit is contained in:
parent
3ebbe8172b
commit
e2e54b8f43
12 changed files with 421 additions and 227 deletions
14
backend/templates/base_with_list.html
Normal file
14
backend/templates/base_with_list.html
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block main_container %}
|
||||
<div class="list">
|
||||
<ul>
|
||||
{% for recipe in recipes %}
|
||||
<li><a href="/recipe/view/{{ recipe.id }}">{{ recipe.title|escape }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue