mirror of
https://github.com/shouptech/humulus.git
synced 2026-02-03 17:19:42 +00:00
Add link back to style
This commit is contained in:
parent
40fe65cd69
commit
5968623b76
1 changed files with 7 additions and 1 deletions
|
|
@ -21,7 +21,13 @@
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div class="row"><h1>{{ recipe.name }}</h1></div>
|
<div class="row"><h1>{{ recipe.name }}</h1></div>
|
||||||
{% if style %}
|
{% if style %}
|
||||||
<div class="row"><h2>{{ style.id }} {{ style.name }}</h2></div>
|
<div class="row">
|
||||||
|
{% if session.logged_in %}
|
||||||
|
<h2><a href="{{ url_for('styles.info', id=style._id) }}">{{ style.id }} {{ style.name }}</a></h2>
|
||||||
|
{% else %}
|
||||||
|
<h2>{{ style.id }} {{ style.name }}</h2>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{#-
|
{#-
|
||||||
Recipe Details
|
Recipe Details
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue