{% extends 'base.html' %}
{% from "macros.html" import render_field %}

{% block title %}User Registration{% endblock %}

{% block content_title %}Register User{% endblock %}
{% block content_description %}Make a new user account{% endblock %}

{% block content %}
    <form method="post">
        {{ form.hidden_tag() }}
        {%  set disabled_fields = ['tenant_id'] %}
        {%  set exclude_fields = [] %}
        {% for field in form %}
            {{ render_field(field, disabled_fields, exclude_fields) }}
        {% endfor %}
        <button type="submit" class="btn btn-primary">Register User</button>
    </form>
{% endblock %}


{% block content_footer %}

{% endblock %}
