2015-08-08 15:05:30 -04:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="name">Name</label>
|
2016-01-13 17:22:30 -05:00
|
|
|
@include('form.text', ['name' => 'name'])
|
2015-08-08 15:05:30 -04:00
|
|
|
</div>
|
|
|
|
|
2016-02-27 14:24:42 -05:00
|
|
|
@if(userCan('users-manage'))
|
2015-08-08 15:05:30 -04:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">Email</label>
|
2016-01-13 17:22:30 -05:00
|
|
|
@include('form.text', ['name' => 'email'])
|
2015-08-08 15:05:30 -04:00
|
|
|
</div>
|
2016-01-13 17:22:30 -05:00
|
|
|
@endif
|
2015-08-08 15:05:30 -04:00
|
|
|
|
2016-02-27 14:24:42 -05:00
|
|
|
@if(userCan('users-manage'))
|
2015-08-29 10:03:42 -04:00
|
|
|
<div class="form-group">
|
2015-09-04 12:16:58 -04:00
|
|
|
<label for="role">User Role</label>
|
2016-02-27 14:24:42 -05:00
|
|
|
@include('form/role-checkboxes', ['name' => 'roles', 'roles' => \BookStack\Role::all()])
|
2015-08-29 10:03:42 -04:00
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2016-02-27 14:24:42 -05:00
|
|
|
@if(userCan('users-manage'))
|
2015-08-29 10:03:42 -04:00
|
|
|
<div class="form-group">
|
2016-01-13 17:22:30 -05:00
|
|
|
<label for="external_auth_id">External Authentication ID</label>
|
|
|
|
@include('form.text', ['name' => 'external_auth_id'])
|
2015-08-29 10:03:42 -04:00
|
|
|
</div>
|
2015-08-08 15:05:30 -04:00
|
|
|
@endif
|
|
|
|
|
|
|
|
<div class="form-group">
|
2016-02-16 16:25:11 -05:00
|
|
|
<a href="/settings/users" class="button muted">Cancel</a>
|
2015-08-08 15:05:30 -04:00
|
|
|
<button class="button pos" type="submit">Save</button>
|
2016-01-13 17:22:30 -05:00
|
|
|
</div>
|