43d9d2eba7
Allows BookStack to be installed at a non-root location on a domain. Closes #40.
40 lines
1.1 KiB
PHP
40 lines
1.1 KiB
PHP
<div class="form-group">
|
|
<label for="name">Name</label>
|
|
@include('form.text', ['name' => 'name'])
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email">Email</label>
|
|
@include('form.text', ['name' => 'email'])
|
|
</div>
|
|
|
|
@if(userCan('users-manage'))
|
|
<div class="form-group">
|
|
<label for="role">User Role</label>
|
|
@include('form/role-checkboxes', ['name' => 'roles', 'roles' => $roles])
|
|
</div>
|
|
@endif
|
|
|
|
@if(isset($model))
|
|
<div class="form-group">
|
|
<span class="text-muted">
|
|
Only fill the below if you would like <br>to change your password:
|
|
</span>
|
|
</div>
|
|
@endif
|
|
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
@include('form.password', ['name' => 'password'])
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="password-confirm">Confirm Password</label>
|
|
@include('form.password', ['name' => 'password-confirm'])
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<a href="{{ baseUrl("/settings/users") }}" class="button muted">Cancel</a>
|
|
<button class="button pos" type="submit">Save</button>
|
|
</div>
|
|
|