Main Promo Image
{{-- START ALERT BLOCK --}}
@if(Session::has('successMessage'))
@endif
{!! html_entity_decode(session('successMessage')) !!}
@endif
@if(Session::has('dangerMessage') || count($errors))
{!! html_entity_decode(session('dangerMessage')) !!}
{{ $errors->first() }}
@endif
{{-- END ALERT BLOCK --}}
{{ Form::open(['route' => 'main_promo', 'files' => true]) }}
{!! Form::label('name', 'Upload HomePage Image') !!}
@if(isset($main_promo[0]->image_url))
{!! Form::label('name', 'Link') !!}
{!! Form::label('name', 'Custom Url') !!}
{!! Form::label('name', 'Start Date') !!}
{!! Form::label('name', 'End Date') !!}
{!! Form::label('name', 'Android App Version') !!}
{!! Form::label('name', 'IOS App Version') !!}
{!! Form::submit('Update', ['class' => 'btn btn-info']) !!}
{!! Form::close() !!}