2016-09-29 07:43:46 -04:00
|
|
|
@if($user->system_name == 'public')
|
2016-12-04 09:08:04 -05:00
|
|
|
<p>{{ trans('settings.users_system_public') }}</p>
|
2016-09-29 07:43:46 -04:00
|
|
|
@endif
|
|
|
|
|
|
|
|
<div class="form-group">
|
2016-12-04 09:08:04 -05:00
|
|
|
<label for="name">{{ trans('auth.name') }}</label>
|
2016-09-29 07:43:46 -04:00
|
|
|
@include('form.text', ['name' => 'name'])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2016-12-04 09:08:04 -05:00
|
|
|
<label for="email">{{ trans('auth.email') }}</label>
|
2016-09-29 07:43:46 -04:00
|
|
|
@include('form.text', ['name' => 'email'])
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@if(userCan('users-manage'))
|
|
|
|
<div class="form-group">
|
2016-12-04 09:08:04 -05:00
|
|
|
<label for="role">{{ trans('settings.users_role') }}</label>
|
2016-09-29 07:43:46 -04:00
|
|
|
@include('form/role-checkboxes', ['name' => 'roles', 'roles' => $roles])
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
<div class="form-group">
|
2016-12-04 09:08:04 -05:00
|
|
|
<a href="{{ baseUrl("/settings/users") }}" class="button muted">{{ trans('common.cancel') }}</a>
|
|
|
|
<button class="button pos" type="submit">{{ trans('common.save') }}</button>
|
2016-09-29 07:43:46 -04:00
|
|
|
</div>
|
2016-12-04 09:08:04 -05:00
|
|
|
|