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

25 lines
764 B
PHP
Raw Normal View History

2015-08-08 15:05:30 -04:00
<div class="form-group">
2016-12-04 09:08:04 -05:00
<label for="name">{{ trans('auth.name') }}</label>
@include('form.text', ['name' => 'name'])
2015-08-08 15:05:30 -04:00
</div>
@if(userCan('users-manage'))
2015-08-08 15:05:30 -04:00
<div class="form-group">
2016-12-04 09:08:04 -05:00
<label for="email">{{ trans('auth.email') }}</label>
@include('form.text', ['name' => 'email'])
2015-08-08 15:05:30 -04:00
</div>
@endif
2015-08-08 15:05:30 -04:00
@if(userCan('users-manage'))
2015-08-29 10:03:42 -04:00
<div class="form-group">
2016-12-04 09:08:04 -05:00
<label for="role">{{ trans('settings.users_role') }}</label>
@include('form/role-checkboxes', ['name' => 'roles', 'roles' => $roles])
2015-08-29 10:03:42 -04:00
</div>
@endif
@if(userCan('users-manage'))
2015-08-29 10:03:42 -04:00
<div class="form-group">
2016-12-04 09:08:04 -05:00
<label for="external_auth_id">{{ trans('settings.users_external_auth_id') }}</label>
@include('form.text', ['name' => 'external_auth_id'])
2015-08-29 10:03:42 -04:00
</div>
@endif