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

27 lines
969 B
PHP
Raw Normal View History

@extends('simple-layout')
2015-08-09 03:05:30 +08:00
@section('toolbar')
@include('settings/navbar', ['selected' => 'users'])
@stop
2015-08-09 03:05:30 +08:00
@section('body')
2015-08-09 03:05:30 +08:00
<div class="container small" ng-non-bindable>
<p>&nbsp;</p>
<div class="card">
<h3><i class="zmdi zmdi-accounts-add"></i> {{ 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 22:08:04 +08:00
</div>
</form>
2016-12-04 22:08:04 +08:00
</div>
</div>
</div>
2015-08-09 03:05:30 +08:00
@stop