@extends('admin.template.master') @section('stylesheets') @endsection @section('title')

Right Side insert and update right side

@endsection @section('main-content')

Entry

{!! Form::open(['url' => '/admin/right-sides', 'enctype' => 'multipart/form-data']) !!}
{!! Form::label('Right Side Position') !!}
@if ($errors->has('right_side_position')){!! $errors->first('right_side_position') !!}@endif
{!! Form::label('Title') !!} {!! Form::text('right_side_title', null, ['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', null, ['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, null, ['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'], null, ['class' => 'form-control']) !!}
{!! Form::close() !!}
@endsection @section('javascripts') @endsection