mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
da01913616
- Copies via loading in model on create view. - Updated role views while editing to bring up to similar format as that used for more modern app areas. - Added tests to cover. Related to #1123
29 lines
851 B
PHP
29 lines
851 B
PHP
@extends('layouts.simple')
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
|
|
<div class="py-m">
|
|
@include('settings.parts.navbar', ['selected' => 'roles'])
|
|
</div>
|
|
|
|
<div class="card content-wrap">
|
|
<h1 class="list-heading">{{ trans('settings.role_create') }}</h1>
|
|
|
|
<form action="{{ url("/settings/roles/new") }}" method="POST">
|
|
{{ csrf_field() }}
|
|
|
|
@include('settings.roles.parts.form', ['role' => $role ?? null])
|
|
|
|
<div class="form-group text-right">
|
|
<a href="{{ url("/settings/roles") }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
<button type="submit" class="button">{{ trans('settings.role_save') }}</button>
|
|
</div>
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|