mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
4b0c4e621a
Also changed up how base URL setting was being done by manipulating incoming request URLs instead of altering then on generation.
32 lines
924 B
PHP
32 lines
924 B
PHP
@extends('simple-layout')
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
|
|
<div class="py-m">
|
|
@include('settings.navbar', ['selected' => 'users'])
|
|
</div>
|
|
|
|
<div 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($currentUser->can('users-manage') ? "/settings/users" : "/") }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
<button class="button primary" type="submit">{{ trans('common.save') }}</button>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|