mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 20:00:47 +08:00
35 lines
1.0 KiB
PHP
35 lines
1.0 KiB
PHP
@extends('simple-layout')
|
|
|
|
@section('toolbar')
|
|
<div class="col-sm-12 faded">
|
|
@include('shelves._breadcrumbs', ['shelf' => $shelf])
|
|
</div>
|
|
@stop
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
<p> </p>
|
|
<div class="card">
|
|
<h3>@icon('lock') {{ trans('entities.shelves_permissions') }}</h3>
|
|
<div class="body">
|
|
@include('form/restriction-form', ['model' => $shelf])
|
|
</div>
|
|
</div>
|
|
|
|
<p> </p>
|
|
|
|
<div class="card">
|
|
<h3>@icon('copy') {{ trans('entities.shelves_copy_permissions_to_books') }}</h3>
|
|
<div class="body">
|
|
<p>{{ trans('entities.shelves_copy_permissions_explain') }}</p>
|
|
<form action="{{ $shelf->getUrl('/copy-permissions') }}" method="post" class="text-right">
|
|
{{ csrf_field() }}
|
|
<button class="button">{{ trans('entities.shelves_copy_permissions') }}</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|