- Generic improvement of initialisation of Dynamic Forms, ensuring correct form processing
23 lines
694 B
HTML
23 lines
694 B
HTML
{% extends 'base.html' %}
|
|
{% from "macros.html" import render_field %}
|
|
|
|
{% block title %}Tenant Make Registration{% endblock %}
|
|
|
|
{% block content_title %}Register Tenant Make{% endblock %}
|
|
{% block content_description %}Define a new tenant make{% endblock %}
|
|
|
|
{% block content %}
|
|
<form method="post">
|
|
{{ form.hidden_tag() }}
|
|
{% set disabled_fields = [] %}
|
|
{% set exclude_fields = [] %}
|
|
{% for field in form %}
|
|
{{ render_field(field, disabled_fields, exclude_fields) }}
|
|
{% endfor %}
|
|
<button type="submit" class="btn btn-primary">Register Tenant Make</button>
|
|
</form>
|
|
{% endblock %}
|
|
|
|
{% block content_footer %}
|
|
|
|
{% endblock %} |