Added role definition handling to user

This commit is contained in:
Josako
2024-04-28 15:54:12 +02:00
parent e8f97b7317
commit f782519c40
4 changed files with 65 additions and 13 deletions

View File

@@ -8,8 +8,8 @@
{% block content %}
<form method="post">
{{ form.hidden_tag() }}
{% set disabled_fields = ['email', 'user_name'] %}
{% set exclude_fields = ['password', 'confirm_password'] %}
{% set disabled_fields = ['email', 'user_name', 'tenant_id'] %}
{% set exclude_fields = [] %}
{% for field in form %}
{{ render_field(field, disabled_fields, exclude_fields) }}
{% endfor %}