update sum at bottom of page after each change
This commit is contained in:
parent
12a040fe87
commit
2bd2b95f05
5 changed files with 15 additions and 7 deletions
|
|
@ -15,9 +15,7 @@
|
|||
{% for food in foods %}
|
||||
{% include "food.html" %}
|
||||
{% endfor %}
|
||||
<div style="background-color: lightblue; margin: 1em;">
|
||||
<b style="font-size: 24px; padding: 1em;">Total: {{ sum }} kc.</b>
|
||||
</div>
|
||||
{% include "sum.html" %}
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue