2015-07-19 06:49:24 +00:00
|
|
|
<div class="form-group">
|
|
|
|
{!! Form::label('title', 'Title..') !!}
|
|
|
|
{!! Form::text('title', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
{!! Form::label('author', 'Author..') !!}
|
|
|
|
{!! Form::text('author', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
{!! Form::label('year', 'Year..') !!}
|
2018-08-06 12:30:51 +00:00
|
|
|
{!! Form::select('year', $years, null, ['id' => 'year', 'class' => 'form-control', 'placeholder' => 'None']) !!}
|
2015-07-19 06:49:24 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
{!! Form::label('stock', 'Stock..') !!}
|
|
|
|
{!! Form::text('stock', null, ['class' => 'form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2018-08-06 12:30:51 +00:00
|
|
|
{!! Form::label('project_id', 'Project..') !!}
|
|
|
|
{!! Form::select('project_id', $categories, null, ['id' => 'project_id', 'class' => 'form-control']) !!}
|
2015-07-19 06:49:24 +00:00
|
|
|
</div>
|
|
|
|
|
2018-08-06 12:30:51 +00:00
|
|
|
{{-- <div class="form-group">
|
2015-07-19 06:49:24 +00:00
|
|
|
{!! Form::label('shelf_id', 'Shelf..') !!}
|
|
|
|
{!! Form::select('shelf_id', $shelves, null, ['id' => 'shelf_id', 'class' => 'form-control']) !!}
|
2018-08-06 12:30:51 +00:00
|
|
|
</div> --}}
|
2015-07-19 06:49:24 +00:00
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
{!! Form::submit($submitButtonText, ['class' => 'btn btn-primary form-control']) !!}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@include('errors._errors')
|