]> BookStack Code Mirror - bookstack/blob - resources/views/books/copy.blade.php
Opensearch: Fixed XML declaration when php short tags enabled
[bookstack] / resources / views / books / copy.blade.php
1 @extends('layouts.simple')
2
3 @section('body')
4
5     <div class="container small">
6
7         <div class="my-s">
8             @include('entities.breadcrumbs', ['crumbs' => [
9                 $book,
10                 $book->getUrl('/copy') => [
11                     'text' => trans('entities.books_copy'),
12                     'icon' => 'copy',
13                 ]
14             ]])
15         </div>
16
17         <div class="card content-wrap auto-height">
18
19             <h1 class="list-heading">{{ trans('entities.books_copy') }}</h1>
20
21             <form action="{{ $book->getUrl('/copy') }}" method="POST">
22                 {!! csrf_field() !!}
23
24                 <div class="form-group title-input">
25                     <label for="name">{{ trans('common.name') }}</label>
26                     @include('form.text', ['name' => 'name'])
27                 </div>
28
29                 @include('entities.copy-considerations')
30
31                 <div class="form-group text-right">
32                     <a href="{{ $book->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
33                     <button type="submit" class="button">{{ trans('entities.books_copy') }}</button>
34                 </div>
35             </form>
36
37         </div>
38     </div>
39
40 @stop