@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('global.explore.title_singular') }}
{!! Form::model($explore, ['route' => ['admin.explores.update', $explore->id], 'method' => 'PUT', 'class' => 'form-horizontal', 'enctype' => 'multipart/form-data']) !!}
{!! Form::text('main_title', null, ['class' => 'form-control']) !!} {{ $errors->first('main_title') }}
{!! Form::text('title', null, ['class' => 'form-control']) !!} {{ $errors->first('title') }}
{!! Form::text('sub_title', null, ['class' => 'form-control']) !!} {{ $errors->first('sub_title') }}

{!! Form::file('youtube_image') !!} @if ($explore->youtube_image) @endif
{{ $errors->first('youtube_image') }}
{!! Form::text('youtube_link', null, ['class' => 'form-control', 'placeholder' => 'https://youtu.be/embed/XYWgs2EmkuY']) !!} {{ $errors->first('youtube_link') }}
{!! Form::textarea('video_description', null, ['class' => 'form-control']) !!} {{ $errors->first('video_description') }}
{!! Form::text('slider_title', null, ['class' => 'form-control']) !!} {{ $errors->first('slider_title') }}
{!! Form::text('slider_text_one', null, ['class' => 'form-control']) !!} {{ $errors->first('slider_text_one') }}

{!! Form::file('slider_image_one') !!} @if ($explore->slider_image_one) @endif
{{ $errors->first('slider_image_one') }}
{!! Form::text('slider_text_two', null, ['class' => 'form-control']) !!} {{ $errors->first('slider_text_two') }}

{!! Form::file('slider_image_two') !!} @if ($explore->slider_image_two) @endif
{{ $errors->first('slider_image_two') }}
{!! Form::text('slider_text_three', null, ['class' => 'form-control']) !!} {{ $errors->first('slider_text_three') }}

{!! Form::file('slider_image_three') !!} @if ($explore->slider_image_three) @endif
{{ $errors->first('slider_image_three') }}
{!! Form::text('slider_text_four', null, ['class' => 'form-control']) !!} {{ $errors->first('slider_text_four') }}

{!! Form::file('slider_image_four') !!} @if ($explore->slider_image_four) @endif
{{ $errors->first('slider_image_four') }}
{!! Form::text('slider_text_five', null, ['class' => 'form-control']) !!} {{ $errors->first('slider_text_five') }}

{!! Form::file('slider_image_five') !!} @if ($explore->slider_image_five) @endif
{{ $errors->first('slider_image_five') }}
{!! Form::submit('Update', ['class' => 'btn btn-info pull-right']) !!}
{!! Form::close() !!}
@endsection