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

32 lines
932 B
PHP
Raw Normal View History

@extends('simple-layout')
2015-08-08 21:05:30 +02:00
@section('body')
2015-08-08 21:05:30 +02:00
<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="{{ baseUrl("/settings/users/create") }}" method="post">
{!! csrf_field() !!}
<div class="setting-list">
@include('users.form')
</div>
<div class="form-group text-right">
<a href="{{ baseUrl($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>
2016-12-04 15:08:04 +01:00
</div>
</div>
2015-08-08 21:05:30 +02:00
@stop