mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-24 21:45:25 +08:00
7ba6962707
So that DB/User access is not explicitly enforced. Same for GlobalViewData middleware although that was also just doubling up on ways to access user/auth info. Also cleaned up Localization Middleware doc blocks.
32 lines
908 B
PHP
32 lines
908 B
PHP
@extends('simple-layout')
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
|
|
<div class="py-m">
|
|
@include('settings.navbar', ['selected' => 'users'])
|
|
</div>
|
|
|
|
<main class="card content-wrap">
|
|
<h1 class="list-heading">{{ trans('settings.users_add_new') }}</h1>
|
|
|
|
<form action="{{ url("/settings/users/create") }}" method="post">
|
|
{!! csrf_field() !!}
|
|
|
|
<div class="setting-list">
|
|
@include('users.form')
|
|
</div>
|
|
|
|
<div class="form-group text-right">
|
|
<a href="{{ url(userCan('users-manage') ? "/settings/users" : "/") }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
<button class="button" type="submit">{{ trans('common.save') }}</button>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</main>
|
|
</div>
|
|
|
|
@stop
|