{% block alert %} diff --git a/src/humulus/templates/recipes/_macros.html b/src/humulus/templates/recipes/_macros.html index b609fd3..6b04beb 100644 --- a/src/humulus/templates/recipes/_macros.html +++ b/src/humulus/templates/recipes/_macros.html @@ -15,6 +15,19 @@ -#} {% from "_macros.html" import render_field_with_errors %} +{# + Renders a javascript function to return a style's URL. +#} +{% macro get_specs_url() %} +{% set id = 'ID' %} +{% set specs = 'y' %} + +{% endmacro %} + {# Used to render a form for creating/updating a recipe #} @@ -30,8 +43,8 @@
{{ render_field_with_errors(form.volume, 'ingredient-field') }}