Blog Management
Edit Blog
{{ Form::model($blog, ['route' => ['blog.update', $blog->id], 'method' => 'put', 'role' => 'form','enctype'=>'multipart/form-data','id'=>'blogAddForm'] ) }}
Fields marked as (*) are Mandatory
{{ Form::label('c_id','Category *') }}
@if($errors->has('c_id'))
{{ $errors->first('c_id') }}
@endif
{{ Form::label('title',' Title*') }}
{{ Form::text('title',null,['class'=>'form-control','placeholder'=>'Enter Title','autocomplete'=>'off'],old('title'))}}
@if($errors->has('title'))
{{ $errors->first('title') }}
@endif
{{ Form::label('short_desc','Short Description *') }}
{{ Form::textarea('short_desc',null,['class'=>'form-control','placeholder'=>'Enter Short Description','autocomplete'=>'off','rows'=>'3','maxlength'=>'200'],old('short_desc'))}}
@if($errors->has('c_id'))
{{ $errors->first('c_id') }}
@endif
{{ Form::label('tags','Tags *') }}
{{ Form::text('tags',null,['class'=>'form-control','placeholder'=>'Enter Tags','autocomplete'=>'off','data-role'=>'tagsinput'],old('tags'))}}
@if($errors->has('c_id'))
{{ $errors->first('c_id') }}
@endif
{{ Form::label('image','Blog Image') }} {{"Please select image with lessthan or equal 1000 X 1000 Dimension"}}
@if(file_exists(public_path('uploads/BlogImage/'.$blog->image)) && $blog->image)
@else
@endif
@if($errors->has('image'))
{{ $errors->first('image') }}
@endif
@if(file_exists(public_path('uploads/BlogImage/'.$blog->image)) && $blog->image)
@endif
{{ Form::label('description',' Description') }}
@if($errors->has('description'))
{{ $errors->first('description') }}
@endif
SEO Details
{{ Form::label('meta_title',' Meta Title') }}
{{ Form::label('meta_tag',' Meta Tags') }}
{{ Form::label('meta_description',' Meta Description') }}
{!! Form::close() !!}