BookStack/resources/views/users/forms/ldap.blade.php

30 lines
905 B
PHP
Raw Normal View History

2015-08-08 21:05:30 +02:00
<div class="form-group">
<label for="name">Name</label>
@include('form.text', ['name' => 'name'])
2015-08-08 21:05:30 +02:00
</div>
@if($currentUser->can('user-update'))
2015-08-08 21:05:30 +02:00
<div class="form-group">
<label for="email">Email</label>
@include('form.text', ['name' => 'email'])
2015-08-08 21:05:30 +02:00
</div>
@endif
2015-08-08 21:05:30 +02:00
2015-09-04 18:16:58 +02:00
@if($currentUser->can('user-update'))
2015-08-29 16:03:42 +02:00
<div class="form-group">
2015-09-04 18:16:58 +02:00
<label for="role">User Role</label>
@include('form.role-select', ['name' => 'role', 'options' => \BookStack\Role::all(), 'displayKey' => 'display_name'])
2015-08-29 16:03:42 +02:00
</div>
@endif
@if($currentUser->can('user-update'))
2015-08-29 16:03:42 +02:00
<div class="form-group">
<label for="external_auth_id">External Authentication ID</label>
@include('form.text', ['name' => 'external_auth_id'])
2015-08-29 16:03:42 +02:00
</div>
2015-08-08 21:05:30 +02:00
@endif
<div class="form-group">
2016-02-16 22:25:11 +01:00
<a href="/settings/users" class="button muted">Cancel</a>
2015-08-08 21:05:30 +02:00
<button class="button pos" type="submit">Save</button>
</div>