mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
771626b6ec
Create a new 'public' guest user and made the public role visible on role setting screens.
26 lines
786 B
PHP
26 lines
786 B
PHP
@if($user->system_name == 'public')
|
|
<p>This user represents any guest users that visit your instance. It cannot be used for logins but is assigned automatically.</p>
|
|
@endif
|
|
|
|
<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
|
|
|
|
<div class="form-group">
|
|
<a href="{{ baseUrl("/settings/users") }}" class="button muted">Cancel</a>
|
|
<button class="button pos" type="submit">Save</button>
|
|
</div>
|