From 5968623b7630dcb6871ae5aa8bb03224d20657c4 Mon Sep 17 00:00:00 2001 From: Mike Shoup Date: Mon, 8 Jul 2019 15:33:28 -0600 Subject: [PATCH] Add link back to style --- src/humulus/templates/recipes/info.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/humulus/templates/recipes/info.html b/src/humulus/templates/recipes/info.html index c1c3e2e..d925b69 100644 --- a/src/humulus/templates/recipes/info.html +++ b/src/humulus/templates/recipes/info.html @@ -21,7 +21,13 @@ {% block body %}

{{ recipe.name }}

{% if style %} -

{{ style.id }} {{ style.name }}

+
+ {% if session.logged_in %} +

{{ style.id }} {{ style.name }}

+ {% else %} +

{{ style.id }} {{ style.name }}

+ {% endif %} +
{% endif %} {#- Recipe Details