diff --git a/inventory-app/templates/inventory.html b/inventory-app/templates/inventory.html index 93015ed..e98e0b3 100644 --- a/inventory-app/templates/inventory.html +++ b/inventory-app/templates/inventory.html @@ -3,6 +3,15 @@ {% block content %}
{% include "inventory_filter.html" %} + + {% macro add_item_button() -%} +

+ Add item +

+ {%- endmacro %} + + {{ add_item_button() }} + @@ -50,9 +59,7 @@ {% endfor %}
-

- Add item -

+ {{ add_item_button() }}