{% macro render_input(name, placeholder, type="text") %}
{% endmacro %} {% macro render_messages(messages) %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} {% endfor %} {% endif %} {% endwith %} {% endmacro %}