diff --git a/src/humulus/templates/recipes/create.html b/src/humulus/templates/recipes/create.html index 0f4c764..6be0079 100644 --- a/src/humulus/templates/recipes/create.html +++ b/src/humulus/templates/recipes/create.html @@ -22,15 +22,18 @@ limitations under the License.

Create a new recipe

{{ form.hidden_tag() }} + {#- + Recipe Details + -#}
{{ render_field_with_errors(form.name) }}
{{ render_field_with_errors(form.efficiency) }}
{{ render_field_with_errors(form.volume) }}
- -
-

Fermentables

-
+ {#- + Fermentable Ingredients + -#} +

Fermentables

{% for fermentable in form.fermentables %}
@@ -58,24 +61,100 @@ limitations under the License.
+ {#- + Hop ingredients + -#} +

Hops

+
+ {% for hop in form.hops %} +
+
+
+ {{ render_field_with_errors(hop.form.name, 'form-control-sm') }} +
+
+
+
{{ render_field_with_errors(hop.form.use, 'form-control-sm') }}
+
{{ render_field_with_errors(hop.form.alpha, 'form-control-sm') }}
+
{{ render_field_with_errors(hop.form.duration, 'form-control-sm') }}
+
{{ render_field_with_errors(hop.form.amount, 'form-control-sm') }}
+
+
+
+ +
+
+
+ {% endfor %} +
+
+
+ +
+
+ {#- + Recipe Notes + -#}
{{ render_field_with_errors(form.notes) }}
+ {#- + Submit recipe + -#}
{% endblock %}