mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
27 lines
812 B
PHP
27 lines
812 B
PHP
@if($user->system_name == 'public')
|
|
<p>{{ trans('settings.users_system_public') }}</p>
|
|
@endif
|
|
|
|
<div class="form-group">
|
|
<label for="name">{{ trans('auth.name') }}</label>
|
|
@include('form.text', ['name' => 'name'])
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email">{{ trans('auth.email') }}</label>
|
|
@include('form.text', ['name' => 'email'])
|
|
</div>
|
|
|
|
@if(userCan('users-manage'))
|
|
<div class="form-group">
|
|
<label for="role">{{ trans('settings.users_role') }}</label>
|
|
@include('form/role-checkboxes', ['name' => 'roles', 'roles' => $roles])
|
|
</div>
|
|
@endif
|
|
|
|
<div class="form-group">
|
|
<a href="{{ baseUrl("/settings/users") }}" class="button muted">{{ trans('common.cancel') }}</a>
|
|
<button class="button pos" type="submit">{{ trans('common.save') }}</button>
|
|
</div>
|
|
|