{% macro render_field(field, visible=True, with_label=True) %}
{% if with_label %}{{ field.label }}{% endif %} {{ field(class="form-control", **kwargs)|safe }} {% if field.errors %} {% endif %}
{% endmacro %} {% macro render_ajax_submit(title, containers) %} {% endmacro %} {% macro render_submit(title, containers, class="default", name=None, value=None, icon=None) %} {% endmacro %}