Content Details
{!! Form::label('name', 'Title:') !!} {!! Form::text('name', null,['class'=>'form-control', 'required', 'placeholder'=>'Enter post title ...', 'onblur' => 'ajax_request();']) !!}
{!! Form::label('category_id', 'Category:') !!} {!! Form::select('category_id', $data['categories'], null,['class'=>'form-control', 'required', 'placeholder' => 'Please Select ...']) !!}
{!! Form::label('heading_content', 'Content Heading:') !!} {!! Form::text('heading_content', null,['class'=>'form-control', 'placeholder'=>'Enter content heading ...']) !!}
{!! Form::label('short_content', 'Short Content:') !!} {!! Form::textarea('short_content', null,['class'=>'form-control', 'required', 'placeholder'=>'Content ...', 'rows'=>'3']) !!}
{!! Form::label('full_content', 'Full Content:') !!} {!! Form::textarea('full_content', null,['class'=>'form-control ckeditor', 'placeholder'=>'Content ...', 'rows'=>'3']) !!}
{!! Form::label('image_thumbnail', 'Thumbnail Image:') !!} {!! Form::file('image_thumbnail', ['class'=>'form-control', 'placeholder'=>'Thumbnail Image ...']) !!} @if($data['p_heading'] == 'Update Post' && $data['post']->image_thumbnail != '')

Click here to see uploaded picture

@endif
{!! Form::label('image', 'Image:') !!} {!! Form::file('image', ['class'=>'form-control', 'placeholder'=>'Post Image ...']) !!} @if($data['p_heading'] == 'Update Post' && $data['post']->image != '')

Click here to see uploaded picture

@endif
{!! Form::label('publish_date', 'Publish Date:') !!} {!! Form::date('publish_date', null,['class'=>'form-control', 'required', 'placeholder'=>'Enter publish date ...']) !!}
{!! Form::label('slug', 'Slug:') !!} {!! Form::text('slug', null,['class'=>'form-control', 'required', 'placeholder'=>'Enter slug ...']) !!}
{!! Form::label('meta_title', 'Meta Title:') !!} {!! Form::text('meta_title', null,['class'=>'form-control', 'placeholder'=>'Meta Title ...']) !!}
{!! Form::label('meta_keywords', 'Meta Keywords:') !!} {!! Form::textarea('meta_keywords', null,['class'=>'form-control', 'placeholder'=>'Meta Keywords ...', 'rows'=>'3']) !!}
{!! Form::label('meta_description', 'Meta Description:') !!} {!! Form::textarea('meta_description', null,['class'=>'form-control', 'placeholder'=>'Meta Description ...', 'rows'=>'3']) !!}
{!! Form::hidden('cmd', 'slug') !!} {!! Form::hidden('table', 'blog-posts') !!}