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

22 lines
597 B
PHP
Raw Normal View History

@if($user->system_name == 'public')
2016-12-04 22:08:04 +08:00
<p>{{ trans('settings.users_system_public') }}</p>
@endif
<div class="form-group">
2016-12-04 22:08:04 +08:00
<label for="name">{{ trans('auth.name') }}</label>
@include('form.text', ['name' => 'name'])
</div>
<div class="form-group">
2016-12-04 22:08:04 +08:00
<label for="email">{{ trans('auth.email') }}</label>
@include('form.text', ['name' => 'email'])
</div>
@if(userCan('users-manage'))
<div class="form-group">
2016-12-04 22:08:04 +08:00
<label for="role">{{ trans('settings.users_role') }}</label>
@include('form/role-checkboxes', ['name' => 'roles', 'roles' => $roles])
</div>
@endif