{% macro checkbox(prefix, id, text, url, checked, delete=false) %} {% if g.login.is_authenticated() %} {% else %} {{ text }} {% endif %} {% endmacro %} {% macro input(id, html_id, url, value) %} {% if g.login.is_authenticated() %} {% else %} {% endif %} {% endmacro %}