Added missing classes and label references

This commit is contained in:
2023-06-01 15:26:10 +01:00
parent d5a823692b
commit 6a9b24a626
3 changed files with 4 additions and 4 deletions

View File

@@ -2,10 +2,10 @@
{% if 'user_name' not in form.fields.hidden %}
{% if col_width %}<div class="{{col_width}}">{% endif %}
<div class="form-group">
<label>{{translate('USERNAME')}}</label>
<label for="input-user-username" class="control-label">{{translate('USERNAME')}}</label>
<div class="input-group">
<span class="input-group-addon"><i class="fas fa-edit fa-fw"></i></span>
<input type="text" class="form-control" name="user_name" autocomplete="off" value="{{user.user_name}}" placeholder="{{translate('USERNAME')}}" {% if 'user_name' in form.fields.disabled %}disabled{% endif %}>
<input type="text" id="input-user-username" class="form-control" name="user_name" autocomplete="off" value="{{user.user_name}}" placeholder="{{translate('USERNAME')}}" {% if 'user_name' in form.fields.disabled %}disabled{% endif %}>
</div>
</div>
{% if col_width %}</div>{% endif %}