BookStackApp/BookStack

View on GitHub
resources/views/books/copy.blade.php

Summary

Maintainability
A
0 mins
Test Coverage
@extends('layouts.simple')

@section('body')

    <div class="container small">

        <div class="my-s">
            @include('entities.breadcrumbs', ['crumbs' => [
                $book,
                $book->getUrl('/copy') => [
                    'text' => trans('entities.books_copy'),
                    'icon' => 'copy',
                ]
            ]])
        </div>

        <div class="card content-wrap auto-height">

            <h1 class="list-heading">{{ trans('entities.books_copy') }}</h1>

            <form action="{{ $book->getUrl('/copy') }}" method="POST">
                {!! csrf_field() !!}

                <div class="form-group title-input">
                    <label for="name">{{ trans('common.name') }}</label>
                    @include('form.text', ['name' => 'name'])
                </div>

                @include('entities.copy-considerations')

                <div class="form-group text-right">
                    <a href="{{ $book->getUrl() }}" class="button outline">{{ trans('common.cancel') }}</a>
                    <button type="submit" class="button">{{ trans('entities.books_copy') }}</button>
                </div>
            </form>

        </div>
    </div>

@stop