2015-08-09 03:05:30 +08:00
|
|
|
<div class="form-group">
|
2016-12-04 22:08:04 +08:00
|
|
|
<label for="name">{{ trans('auth.name') }}</label>
|
2016-01-14 06:22:30 +08:00
|
|
|
@include('form.text', ['name' => 'name'])
|
2015-08-09 03:05:30 +08:00
|
|
|
</div>
|
|
|
|
|
2016-02-28 03:24:42 +08:00
|
|
|
@if(userCan('users-manage'))
|
2015-08-09 03:05:30 +08:00
|
|
|
<div class="form-group">
|
2016-12-04 22:08:04 +08:00
|
|
|
<label for="email">{{ trans('auth.email') }}</label>
|
2016-01-14 06:22:30 +08:00
|
|
|
@include('form.text', ['name' => 'email'])
|
2015-08-09 03:05:30 +08:00
|
|
|
</div>
|
2016-01-14 06:22:30 +08:00
|
|
|
@endif
|
2015-08-09 03:05:30 +08:00
|
|
|
|
2016-02-28 03:24:42 +08:00
|
|
|
@if(userCan('users-manage'))
|
2015-08-29 22:03:42 +08:00
|
|
|
<div class="form-group">
|
2016-12-04 22:08:04 +08:00
|
|
|
<label for="role">{{ trans('settings.users_role') }}</label>
|
2016-05-02 02:36:53 +08:00
|
|
|
@include('form/role-checkboxes', ['name' => 'roles', 'roles' => $roles])
|
2015-08-29 22:03:42 +08:00
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2016-02-28 03:24:42 +08:00
|
|
|
@if(userCan('users-manage'))
|
2015-08-29 22:03:42 +08:00
|
|
|
<div class="form-group">
|
2016-12-04 22:08:04 +08:00
|
|
|
<label for="external_auth_id">{{ trans('settings.users_external_auth_id') }}</label>
|
2016-01-14 06:22:30 +08:00
|
|
|
@include('form.text', ['name' => 'external_auth_id'])
|
2015-08-29 22:03:42 +08:00
|
|
|
</div>
|
2017-03-05 23:34:54 +08:00
|
|
|
@endif
|