@if (!empty($result)) @if ($lang == 2)
{{ trans('headings.translate-banner') }} @else
{{ trans('headings.edit-banner') }} @endif @else
{{ trans('headings.add-banner') }} @endif
@if ($lang == 1)
@if ($errors->has('image'))

{{ $errors->first('image') }}

@endif
{{ isset($result->image) ? $result->image : null }}
avatar
{!! Form::label('module', trans('headings.select-module'), ['class' => '']) !!} {!! Form::select('module_id', $module, isset($result->module) ? $result->module : null, [ 'class' => 'form-control', ]) !!} @if ($errors->has('module'))

{{ $errors->first('module') }}

@endif
@else
@if ($errors->has('image'))

{{ $errors->first('image') }}

@endif
{{ isset($result->image) ? $result->image : null }}
avatar
{!! Form::label('module', trans('headings.select-module'), ['class' => '']) !!} {!! Form::select('module_id', $module, isset($result->module) ? $result->module : null, [ 'class' => 'form-control', ]) !!} @if ($errors->has('module'))

{{ $errors->first('module') }}

@endif
@endif
{!! Form::label('description', trans('fields.description'), ['class' => '']) !!} {!! Form::textarea('description', null, [ 'class' => 'form-control', 'dir' => getOrientionById($lang), 'placeholder' => trans('fields.enter-description'), 'autofocus', ]) !!} @if ($errors->has('description'))

{{ $errors->first('description') }}

@endif

Note: make sure to upload Files in these ratio with less file size.

  • Memories/Food Slider => 23:32 (eg:460x640px)
  • Home-Gym/Spa slider => 17:24 (eg:310x480px)
  • Gym/Spa slider => 10:7 (eg:400x280px)
  • Home-Offers =>Round image
  • All other banners =>16:9 (eg:640x360px)
  • @section('style') @endsection @section('script') @endsection @push('module-js') @endpush