diff --git a/templates/macro/form.html b/templates/macro/form.html index f9c5a5d..cd126e9 100644 --- a/templates/macro/form.html +++ b/templates/macro/form.html @@ -15,3 +15,18 @@ {{ text }} {% endif %} {% endmacro %} + +{% macro input(id, html_id, url, value) %} + + {% if g.login.is_authenticated() %} + + {% else %} + + {% endif %} +{% endmacro %} diff --git a/templates/part/table.html b/templates/part/table.html index 8e1da01..b7139ed 100644 --- a/templates/part/table.html +++ b/templates/part/table.html @@ -1,3 +1,4 @@ +{% import 'macro/form.html' as form %} {% import 'macro/table.html' as table %}