Recipe edit (WIP)
This commit is contained in:
parent
fce4eade73
commit
c6dfff065c
24 changed files with 1157 additions and 971 deletions
|
|
@ -1,7 +1,14 @@
|
|||
{% extends "base_with_header.html" %}
|
||||
|
||||
{% macro recipe_item(id, title, class) %}
|
||||
<a href="/recipe/view/{{ id }}" class="{{ class }}">{{ title }}</a>
|
||||
<a href="/recipe/view/{{ id }}" class="{{ class }}">
|
||||
{% if title == "" %}
|
||||
{# TODO: Translation #}
|
||||
No title defined
|
||||
{% else %}
|
||||
{{ title }}
|
||||
{% endif %}
|
||||
</a>
|
||||
{% endmacro %}
|
||||
|
||||
{% block main_container %}
|
||||
|
|
@ -27,7 +34,5 @@
|
|||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
{% block content %}{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue