@if($errors->count()) @endif
{{-- photo upload --}}
{!! Form::label('title_sw', 'Title in swahili *') !!} {!! Form::text('title_sw',null,['class'=>'form-control']) !!}
{!! Form::label('title_en', 'Title in english *') !!} {!! Form::text('title_en',null,['class'=>'form-control']) !!}
{!! Form::label('file_sw', 'File in Swahili (use PDF)') !!} {!! Form::file('file_sw',['class'=>'form-control']) !!}
{!! Form::label('file_en', 'File in English (use PDF)') !!} {!! Form::file('file_en',['class'=>'form-control']) !!}
{!! Form::label('category_id', 'Publication Category') !!} {!! Form::text('category_id',$category->id,['class'=>'form-control']) !!}
{!! Form::label('active', 'Status') !!} {!! Form::select('active', array('1' => 'Active','0'=>'Inactive'),null,['class'=>'form-control']) !!}
{!! Form::label('published_date', 'Published Date') !!} {!! Form::input('date', 'published_date',null,['class'=>'form-control']) !!}
{!! Form::submit($submitButton, ['class' => 'btn btn-primary col-md-12']) !!}