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>
|
2016-01-13 17:22:30 -05:00
|
|
|
@include('form.text', ['name' => 'name'])
|
2015-08-08 15:05:30 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2016-12-04 09:08:04 -05:00
|
|
|
<label for="email">{{ trans('auth.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-02-27 14:24:42 -05: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>
|
2016-05-01 14:36:53 -04:00
|
|
|
@include('form/role-checkboxes', ['name' => 'roles', 'roles' => $roles])
|
2015-08-29 10:03:42 -04:00
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2015-09-04 12:16:58 -04:00
|
|
|
@if(isset($model))
|
2015-08-29 10:03:42 -04:00
|
|
|
<div class="form-group">
|
2015-09-04 12:16:58 -04:00
|
|
|
<span class="text-muted">
|
2016-12-04 09:08:04 -05:00
|
|
|
{{ trans('settings.users_password_warning') }}
|
2015-09-04 12:16:58 -04:00
|
|
|
</span>
|
2015-08-29 10:03:42 -04:00
|
|
|
</div>
|
2015-08-08 15:05:30 -04:00
|
|
|
@endif
|
|
|
|
|
|
|
|
<div class="form-group">
|
2016-12-04 09:08:04 -05:00
|
|
|
<label for="password">{{ trans('auth.password') }}</label>
|
2016-01-13 17:22:30 -05:00
|
|
|
@include('form.password', ['name' => 'password'])
|
2015-08-08 15:05:30 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2016-12-04 09:08:04 -05:00
|
|
|
<label for="password-confirm">{{ trans('auth.password_confirm') }}</label>
|
2016-01-13 17:22:30 -05:00
|
|
|
@include('form.password', ['name' => 'password-confirm'])
|
2017-03-05 10:34:54 -05:00
|
|
|
</div>
|