make amounts more readable (1.0 -> 1)
This commit is contained in:
parent
f813ae5ac3
commit
59f80f6619
2 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
{% macro ingredientpart(ing) -%}
|
||||
{{ing.amount}} {{ing.unit.name}} {{ ing.name }}
|
||||
{{ing.amount|numprint}} {{ing.unit.name}} {{ ing.name }}
|
||||
{%- endmacro %}
|
||||
{% macro ingredient(ing) -%}
|
||||
{{ingredientpart(ing)}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue