@extends('layouts.backend') @section('content')

Edit a Slider

Slider Form

@if (count($errors) > 0)
Whoops! There were some problems with your input.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@method('PATCH') @csrf
@if ($errors->has('title_en')) {{ $errors->first('title_en') }} @endif
@if ($errors->has('title_bn')) {{ $errors->first('title_bn') }} @endif
@if ($errors->has('type')) {{ $errors->first('type') }} @endif
@if ($errors->has('excerpt_en')) {{ $errors->first('excerpt_en') }} @endif
@if ($errors->has('excerpt_bn')) {{ $errors->first('excerpt_bn') }} @endif
@if ($errors->has('url')) {{ $errors->first('url') }} @endif
@isset($slider->image) @endisset
@if ($errors->has('image')) {{ $errors->first('image') }} @endif

@isset($slider->optional_image) @endisset
@if ($errors->has('optional_image')) {{ $errors->first('optional_image') }} @endif
@if ($errors->has('order')) {{ $errors->first('order') }} @endif
@endsection