Provided the same treatment to the role and group forms

This commit is contained in:
2023-06-01 15:00:01 +01:00
parent bf9467b480
commit d5a823692b
19 changed files with 324 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
{% if 'description' not in form.fields.hidden %}
{% if col_width %}<div class="{{col_width}}">{% endif %}
<div class="form-group">
<label for="input-{{type}}-description" class="control-label">{{field_name | default(translate('DESCRIPTION'))}}</label>
<textarea id="input-{{type}}-description" class="form-control" type="text" name="description" {% if 'description' in form.fields.disabled %}disabled{% endif %} rows=6>{{current_value}}</textarea>
</div>
{% if col_width %}</div>{% endif %}
{% endif %}