2021-06-28 13:48:38 +02:00
|
|
|
<div id="edit-user-form" data-user-id="{{user_id}}">
|
2023-01-10 16:04:43 +01:00
|
|
|
<form class="name-setting">
|
2021-06-09 19:43:01 +02:00
|
|
|
<input type="hidden" name="is_full_name" value="true" />
|
|
|
|
<div class="input-group name_change_container">
|
2022-07-15 13:45:46 +02:00
|
|
|
<label for="edit_user_full_name">{{t "Full name" }}</label>
|
2023-03-28 13:13:20 +02:00
|
|
|
<input type="text" autocomplete="off" name="full_name" id="edit_user_full_name" class="modal_text_input" value="{{ full_name }}" />
|
2018-07-14 12:43:04 +02:00
|
|
|
</div>
|
2022-03-01 09:00:14 +01:00
|
|
|
{{#if email}}
|
2021-06-09 19:43:01 +02:00
|
|
|
<div class="input-group email_change_container">
|
|
|
|
<label for="email">{{t "Email" }}</label>
|
2023-03-28 13:13:20 +02:00
|
|
|
<input type="text" autocomplete="off" name="email" class="modal_text_input" value="{{ email }}" readonly/>
|
2021-06-09 19:43:01 +02:00
|
|
|
</div>
|
2022-03-01 09:00:14 +01:00
|
|
|
{{/if}}
|
2021-10-28 09:57:45 +02:00
|
|
|
<div class="input-group user_id_container">
|
|
|
|
<label for="user_id">{{t "User ID" }}</label>
|
2023-03-28 13:13:20 +02:00
|
|
|
<input type="text" autocomplete="off" name="user_id" class="modal_text_input" value="{{ user_id }}" readonly/>
|
2021-10-28 09:57:45 +02:00
|
|
|
</div>
|
2021-06-09 19:43:01 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<label class="input-label" for="user-role-select">{{t 'User role' }}
|
|
|
|
{{> ../help_link_widget link="/help/roles-and-permissions" }}
|
|
|
|
</label>
|
2023-02-16 11:20:07 +01:00
|
|
|
<select name="user-role-select" class="bootstrap-focus-style modal_select" id="user-role-select" data-setting-widget-type="number" {{#if disable_role_dropdown}}disabled{{/if}}>
|
2021-06-09 19:43:01 +02:00
|
|
|
{{> dropdown_options_widget option_values=user_role_values}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="custom-profile-field-form"></div>
|
|
|
|
</form>
|
2022-09-15 12:00:09 +02:00
|
|
|
<div class="input-group new-style">
|
|
|
|
<button class="button rounded btn-danger deactivate_user_button">
|
|
|
|
{{t 'Deactivate user' }}
|
|
|
|
</button>
|
|
|
|
</div>
|
2018-07-14 12:43:04 +02:00
|
|
|
</div>
|