Changed directory structure of forms/inputs slightly
This commit is contained in:
13
templates/forms/inputs/user-user_name.html.twig
Normal file
13
templates/forms/inputs/user-user_name.html.twig
Normal file
@@ -0,0 +1,13 @@
|
||||
{% block input_user_user_name %}
|
||||
{% if 'user_name' not in form.fields.hidden %}
|
||||
{% if col_width %}<div class="{{col_width}}">{% endif %}
|
||||
<div class="form-group">
|
||||
<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" 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 %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user