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

18 lines
488 B
PHP

{!! csrf_field() !!}
<div class="form-group title-input">
<label for="name">Chapter Name</label>
@include('form/text', ['name' => 'name'])
</div>
<div class="form-group description-input">
<label for="description">Description</label>
@include('form/textarea', ['name' => 'description'])
</div>
<div class="form-group">
<a href="{{ back()->getTargetUrl() }}" class="button muted">Cancel</a>
<button type="submit" class="button pos">Save Chapter</button>
</div>