2017-08-27 00:17:04 +08:00
|
|
|
@extends('simple-layout')
|
2015-08-09 03:05:30 +08:00
|
|
|
|
2017-08-27 00:17:04 +08:00
|
|
|
@section('body')
|
2015-08-09 03:05:30 +08:00
|
|
|
|
2018-05-28 17:33:38 +08:00
|
|
|
<div class="container small">
|
2019-02-03 21:45:45 +08:00
|
|
|
|
|
|
|
<div class="py-m">
|
|
|
|
@include('settings.navbar', ['selected' => 'users'])
|
|
|
|
</div>
|
|
|
|
|
2019-08-25 22:44:51 +08:00
|
|
|
<main class="card content-wrap">
|
2019-02-03 21:45:45 +08:00
|
|
|
<h1 class="list-heading">{{ trans('settings.users_add_new') }}</h1>
|
|
|
|
|
2019-08-04 21:26:39 +08:00
|
|
|
<form action="{{ url("/settings/users/create") }}" method="post">
|
2019-02-03 21:45:45 +08:00
|
|
|
{!! csrf_field() !!}
|
|
|
|
|
|
|
|
<div class="setting-list">
|
2019-02-04 01:34:15 +08:00
|
|
|
@include('users.form')
|
2019-02-03 21:45:45 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group text-right">
|
2019-08-04 21:26:39 +08:00
|
|
|
<a href="{{ url($currentUser->can('users-manage') ? "/settings/users" : "/") }}" class="button outline">{{ trans('common.cancel') }}</a>
|
2019-08-25 19:40:04 +08:00
|
|
|
<button class="button" type="submit">{{ trans('common.save') }}</button>
|
2019-02-03 21:45:45 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
2019-08-25 22:44:51 +08:00
|
|
|
</main>
|
2016-12-04 22:08:04 +08:00
|
|
|
</div>
|
|
|
|
|
2015-08-09 03:05:30 +08:00
|
|
|
@stop
|