@if(checkRole(['owner']))
{{ Form::label('branch_id', getphrase('branch')) }} * {{Form::select('branch_id', $branches, null, ['class'=>'form-control', 'id'=>'branch_id', "onChange"=>"getLibAssetTypes();", 'ng-model'=>'branch_id', 'required'=> 'true', 'ng-class'=>'{"has-error": formpublishers.branch_id.$touched && formpublishers.branch_id.$invalid}' ])}}
{!! getValidationMessage()!!}
@else {{ Form::hidden('branch_id', getUserRecord()->branch_id, array('id'=>'branch_id')) }} @endif
{{ Form::label('asset_type_id', getphrase('asset_type')) }} * {{Form::select('asset_type_id', $asset_types, null, ['class'=>'form-control'])}}
{{ Form::label('title', getphrase('title')) }} * {{ Form::text('title', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => 'C Programming')) }}
{{ Form::label('image', getphrase('image')) }}
@if($record) @if($record->image) @endif @endif
{{ Form::label('category_id', getphrase('category')) }} {{Form::select('category_id', $librarycategories, 'null', ['class'=>'form-control'])}}
{{ Form::label('language_id', getphrase('language')) }} {{Form::select('language_id', $librarylanguages, 'null', ['class'=>'form-control'])}}
{{ Form::label('author_id', getphrase('author')) }} * {{Form::select('author_id', $authors, null, ['class'=>'form-control'])}}
{{ Form::label('publisher_id', getphrase('publisher')) }} * {{Form::select('publisher_id', $publishers, null, ['class'=>'form-control'])}}
{{ Form::label('isbn', getphrase('ISBN_number')) }} {{ Form::text('isbn', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => '10022441')) }}
{{ Form::label('edition', getphrase('edition')) }} {{ Form::text('edition', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => '10022441')) }}
{{ Form::label('pages', getphrase('pages')) }} {{ Form::text('pages', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => '835')) }}
{{ Form::label('version', getphrase('version')) }} {{ Form::text('version', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => '2018')) }}
{{ Form::label('volume', getphrase('volume')) }} {{ Form::text('volume', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => '1')) }}
{{ Form::label('actual_price', getphrase('actual_price')) }} * {{ Form::text('actual_price', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => '200')) }}
{{ Form::label('chargible_price_if_lost', getphrase('chargeable_price_if_lost')) }} * {{ Form::text('chargible_price_if_lost', $value = null , $attributes = array('class'=>'form-control', 'placeholder' => '200')) }}
{{ Form::label('description', getphrase('description')) }} {{ Form::textarea('description', $value = null , $attributes = array('class'=>'form-control', 'rows'=>'5', 'placeholder' => 'Fine description')) }}