{!! Form::open(['method' => 'PATCH', 'url' => '/admin/right-sides/' .$rightSide->right_side_id, 'enctype' => 'multipart/form-data']) !!}
{!! Form::label('Title') !!}
{!! Form::text('right_side_title', $rightSide->right_side_title, ['class' => 'form-control', 'placeholder' => 'Enter right side title']) !!}
@if ($errors->has('right_side_title'))
{!! $errors->first('right_side_title') !!}@endif
{!! Form::label('Right Side Image') !!}
{!! Form::file('right_side_image_name', ['onchange' => 'readURL(this);']) !!}
@if ($errors->has('right_side_image_name')){!! $errors->first('right_side_image_name') !!}@endif
{!! Form::label('URL') !!}
{!! Form::text('right_side_url', $rightSide->right_side_url, ['class' => 'form-control', 'placeholder' => 'Enter url']) !!}
@if ($errors->has('right_side_url')){!! $errors->first('right_side_url') !!}@endif
{!! Form::label('Category Name') !!}
{!! Form::select('category_name',$categories, $rightSide->category_id, ['class' => 'form-control', 'placeholder' => 'Enter category name']) !!}
@if ($errors->has('category_name')){!! $errors->first('section_name') !!}@endif
{!! Form::label('Status') !!}
{!! Form::select('right_side_is_exist', [1 => 'Active', 0 => 'Inactive'], isset($rightSide->right_side_is_exist) ? $rightSide->right_side_is_exist : null, ['class' => 'form-control']) !!}