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

30 lines
953 B
PHP
Raw Normal View History

2016-06-25 10:31:38 -04:00
@extends('base')
@section('content')
<div class="faded-small toolbar">
<div class="container">
<div class="row">
<div class="col-sm-12 faded">
@include('chapters._breadcrumbs', ['chapter' => $chapter])
2016-06-25 10:31:38 -04:00
</div>
</div>
</div>
</div>
<div class="container">
<h1>{{ trans('entities.chapters_move') }}</h1>
2016-06-25 10:31:38 -04:00
<form action="{{ $chapter->getUrl('/move') }}" method="POST">
2016-06-25 10:31:38 -04:00
{!! csrf_field() !!}
<input type="hidden" name="_method" value="PUT">
@include('components.entity-selector', ['name' => 'entity_selection', 'selectorSize' => 'large', 'entityTypes' => 'book'])
2016-06-25 10:31:38 -04:00
<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 10:31:38 -04:00
</form>
</div>
@stop