{% extends "layout.html" %}

{% from "views/table.html" import table with context %}
{% from "views/form.html" import form with context %}

{% block body %}
    {{ form(model=model, bfms=bfms, name=name) }}
{#    {% for bfm in bfms %}#}
{#        {% with modal_model=bfm %}#}
{#            {% include "components/modal.html" %}#}
{#        {% endwith %}#}
{#        <h2>{{ bfm.__name__ }}</h2>#}
{#        {{ table(model=bfm) }}#}
{#    {% endfor %}#}
{% endblock %}
