]> BookStack Code Mirror - bookstack/blob - resources/views/books/form.blade.php
Finished migration of last angular code
[bookstack] / resources / views / books / form.blade.php
1
2 {{ csrf_field() }}
3 <div class="form-group title-input">
4     <label for="name">{{ trans('common.name') }}</label>
5     @include('form/text', ['name' => 'name'])
6 </div>
7
8 <div class="form-group description-input">
9     <label for="description">{{ trans('common.description') }}</label>
10     @include('form/textarea', ['name' => 'description'])
11 </div>
12
13 <div class="form-group text-right">
14     <a href="{{ isset($book) ? $book->getUrl() : baseUrl('/books') }}" class="button outline">{{ trans('common.cancel') }}</a>
15     <button type="submit" class="button pos">{{ trans('entities.books_save') }}</button>
16 </div>