mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
4499ae84bb
Fixed PHP formatting error in ES lang file and added tests to cover. Made user edit page more responsive on smaller devices. Fixed 'cancel' button on profile screen when the user does not have permission to manage users.
34 lines
996 B
PHP
34 lines
996 B
PHP
<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
|
|
|
|
@if(isset($model))
|
|
<div class="form-group">
|
|
<span class="text-muted">
|
|
{{ trans('settings.users_password_warning') }}
|
|
</span>
|
|
</div>
|
|
@endif
|
|
|
|
<div class="form-group">
|
|
<label for="password">{{ trans('auth.password') }}</label>
|
|
@include('form.password', ['name' => 'password'])
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="password-confirm">{{ trans('auth.password_confirm') }}</label>
|
|
@include('form.password', ['name' => 'password-confirm'])
|
|
</div> |