rename pricedb to prices
This commit is contained in:
parent
065975d4c2
commit
546ef63289
3 changed files with 80 additions and 30 deletions
|
@ -1,6 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
{% macro ingredientpart(ing) -%}
|
||||
{{ing.amount|numprint}} {{ing["unit"].name}} {{ ing.name }}
|
||||
{% if ing.price != None %}{{ing.price|round(1)|numprint}}{%else%} ?{%endif%} {{ing.amount|amountprint}} {{ing["unit"].name}} {{ ing.name }}
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro ingredient(ing) -%}
|
||||
|
@ -36,4 +36,4 @@
|
|||
{%block body %}
|
||||
<a href="index.html">back</a>
|
||||
{{getrecipe(recipe)}}
|
||||
{%endblock%}
|
||||
{%endblock%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue