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

27 lines
933 B
PHP
Raw Normal View History

@extends('simple-layout')
2015-08-08 15:05:30 -04:00
@section('toolbar')
@include('settings/navbar', ['selected' => 'users'])
@stop
2015-08-08 15:05:30 -04:00
@section('body')
2015-08-08 15:05:30 -04:00
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('users-add') {{ trans('settings.users_add_new') }}</h3>
<div class="body">
<form action="{{ baseUrl("/settings/users/create") }}" method="post">
{!! csrf_field() !!}
@include('users/forms/' . $authMethod)
<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 pos" type="submit">{{ trans('common.save') }}</button>
2016-12-04 09:08:04 -05:00
</div>
</form>
2016-12-04 09:08:04 -05:00
</div>
</div>
</div>
2015-08-08 15:05:30 -04:00
@stop