BookStack/resources/views/users/create.blade.php

31 lines
1009 B
PHP
Raw Normal View History

@extends('layouts.simple')
2015-08-08 15:05:30 -04:00
@section('body')
2015-08-08 15:05:30 -04:00
<div class="container small">
@include('settings.parts.navbar', ['selected' => 'users'])
<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.parts.form')
@include('users.parts.language-option-row', ['value' => old('setting.language') ?? config('app.default_locale')])
</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>
2016-12-04 09:08:04 -05:00
</div>
2015-08-08 15:05:30 -04:00
@stop