{% extends "layout.html" %} {% block content %}
{{ form.hidden_tag() }}
{{title}} {% for item in form %}
{% if item.id == "submit" %} {% elif item.id == "csrf_token" %} {% else %} {{ item.label(class="form-control-label") }} {% if item.errors %} {{ item(class="form-control form-control-lg is-invalid") }}
{% for error in item.errors %} {{ error }} {% endfor %}
{% else %} {{ item(class="form-control form-control-lg") }} {% endif %} {% endif %}
{% endfor %}
{{ form.submit(class="btn btn-outline-info") }}
{% if dbTable %}

{{ tableTitle }}

{% for item in dbTable %} {% endfor %}
Name Description
{{ item.name }} {{ item.description}}
{% endif %} {% endblock content %}