30 lines
No EOL
896 B
PHP
30 lines
No EOL
896 B
PHP
<div class="form-group">
|
|
<label for="name">Name</label>
|
|
@include('form.text', ['name' => 'name'])
|
|
</div>
|
|
|
|
@if($currentUser->can('user-update'))
|
|
<div class="form-group">
|
|
<label for="email">Email</label>
|
|
@include('form.text', ['name' => 'email'])
|
|
</div>
|
|
@endif
|
|
|
|
@if($currentUser->can('user-update'))
|
|
<div class="form-group">
|
|
<label for="role">User Role</label>
|
|
@include('form.role-select', ['name' => 'role', 'options' => \BookStack\Role::all(), 'displayKey' => 'display_name'])
|
|
</div>
|
|
@endif
|
|
|
|
@if($currentUser->can('user-update'))
|
|
<div class="form-group">
|
|
<label for="external_auth_id">External Authentication ID</label>
|
|
@include('form.text', ['name' => 'external_auth_id'])
|
|
</div>
|
|
@endif
|
|
|
|
<div class="form-group">
|
|
<a href="/users" class="button muted">Cancel</a>
|
|
<button class="button pos" type="submit">Save</button>
|
|
</div> |