{!! Form::rawLabel($input,trans('admin.Title')."*",['class' => 'col-md-2 control-label']) !!}
@php $input='post_date'; @endphp
{!! Form::text($input,null,['class'=>'form-control']) !!}
@foreach($errors->get($input) as $message)
{{ $message }}
@endforeach
{!! Form::rawLabel($input,trans('admin.Date')."*",['class' => ' col-md-2 control-label']) !!}
@php $input='summary'; @endphp
{!! Form::text($input,null,['class'=>'datePicker form-control']) !!}
@foreach($errors->get($input) as $message)
{{ $message }}
@endforeach
{!! Form::rawLabel($input,trans('admin.Summary'),['class' => 'col-md-2 control-label']) !!}
@php $input='content'; @endphp
{!! Form::textarea($input,null,['class'=>'form-control']) !!}
@foreach($errors->get($input) as $message)
{{ $message }}
@endforeach
{!! Form::rawLabel($input,trans('admin.Content'),['class' => 'col-md-2 control-label']) !!}
@php $input='main_image'; @endphp
{!! Form::textarea($input,html_entity_decode($row->$input),['class'=>'form-control froala']) !!}
@foreach($errors->get($input) as $message)
{{ $message }}
@endforeach
{!! Form::rawLabel($input,trans('admin.Main image')."*",['class' => 'col-md-2 control-label']) !!} {{trans("front.jpg,png,jpeg")}}, {{trans("front.Allowed max file size 4MB")}} {{trans("admin.Recommended resolution")}} 600x480
@if(ACL::can('publish-'.$module))
@php $input='published'; @endphp
{!! Form::file($input,['class'=>'form-control fileinput','accept'=>'image/*','data-show-preview'=>'false','data-allowed-file-extensions'=>'["jpg", "png","jpeg"]']) !!}
{!!viewValue($row->$input,'image')!!}
@foreach($errors->get($input) as $message)
{{ $message }}
@endforeach
{!! Form::rawLabel($input,trans('admin.Published'),['class' => 'col-md-2 control-label']) !!}
@endif