BookStack/resources/views/chapters/move.blade.php

34 lines
1.3 KiB
PHP
Raw Normal View History

2016-06-25 16:31:38 +02:00
@extends('base')
@section('content')
<div class="faded-small toolbar">
<div class="container">
<div class="row">
<div class="col-sm-12 faded">
<div class="breadcrumbs">
<a href="{{ $book->getUrl() }}" class="text-book text-button"><i class="zmdi zmdi-book"></i>{{ $book->getShortName() }}</a>
2016-06-25 16:31:38 +02:00
<span class="sep">&raquo;</span>
<a href="{{ $chapter->getUrl() }}" class="text-chapter text-button"><i class="zmdi zmdi-collection-bookmark"></i>{{ $chapter->getShortName() }}</a>
2016-06-25 16:31:38 +02:00
</div>
</div>
</div>
</div>
</div>
<div class="container">
<h1>{{ trans('entities.chapters_move') }} <small class="subheader">{{$chapter->name}}</small></h1>
2016-06-25 16:31:38 +02:00
<form action="{{ $chapter->getUrl('/move') }}" method="POST">
2016-06-25 16:31:38 +02:00
{!! csrf_field() !!}
<input type="hidden" name="_method" value="PUT">
@include('partials/entity-selector', ['name' => 'entity_selection', 'selectorSize' => 'large', 'entityTypes' => 'book'])
<a href="{{ $chapter->getUrl() }}" class="button muted">{{ trans('common.cancel') }}</a>
<button type="submit" class="button pos">{{ trans('entities.chapters_move') }}</button>
2016-06-25 16:31:38 +02:00
</form>
</div>
@stop