Updated user settings page and user forms
This commit is contained in:
11
templates/forms/partials/input-last_name.html.twig
Normal file
11
templates/forms/partials/input-last_name.html.twig
Normal file
@@ -0,0 +1,11 @@
|
||||
{% block input_last_name %}
|
||||
{% if 'last_name' not in form.fields.hidden %}
|
||||
<div class="form-group">
|
||||
<label for="input-last-name" class="control-label">{{translate('LAST_NAME')}}</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="fas fa-edit fa-fw"></i></span>
|
||||
<input type="text" id="input-last-name" name="last_name" class="form-control" autocomplete="off" value="{{user.last_name}}" placeholder="{{translate('LAST_NAME')}}" {% if 'name' in form.fields.disabled %}disabled{% endif %}>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user