@include('admin.layouts.errors')
{{ Form::submit('save', array('class' => 'btn btn-lg btn-success action btn-block')) }}
{{ csrf_field() }}
{{ Form::label('typeexcel', $controller::getLabel('typeexcel')) }} {{ Form::select('typeexcel', $controller::getTypeexcelForm(), isset($item->typeexcel) ? $item->typeexcel:null , ['class' => 'form-control']) }}
{{ Form::label('pic', $controller::getLabel('pic'), ['class' => 'required']) }} {{ Form::file('pic','', ['class' => 'form-control', 'rows'=>2]) }}

{{ Form::label('short_description', $controller::getLabel('short_description')) }} {{ Form::textarea('short_description', isset($item->short_description) ? $item->short_description : null, ['class' => 'form-control', 'rows'=>5]) }}
{{ Form::label('cmslanguage_id', $controller::getLabel('cmslanguage_id')) }} {{ Form::select('cmslanguage_id', [''=> '-']+ Cmslanguage::orderBy('name')->pluck('name', 'id')->all(), isset($item->cmslanguage_id) ? $item->cmslanguage_id:null, ['class' => 'form-control']) }}
{{ Form::hidden('user_id', isset($item->user_id) ? $item->user_id : null , array('class' => 'form-control')) }}