2021-08-22 20:15:58 +08:00
|
|
|
@extends('layouts.simple')
|
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
|
|
|
|
2022-03-27 05:36:05 +08:00
|
|
|
@include('settings.parts.navbar', ['selected' => 'users'])
|
2019-02-03 21:45:45 +08:00
|
|
|
|
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">
|
2021-08-22 20:15:58 +08:00
|
|
|
@include('users.parts.form')
|
2022-02-01 06:15:21 +08:00
|
|
|
@include('users.parts.language-option-row', ['value' => old('setting.language') ?? config('app.default_locale')])
|
2019-02-03 21:45:45 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group text-right">
|
2021-01-17 21:41:43 +08:00
|
|
|
<a href="{{ url(userCan('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
|