@extends('admin.layouts.app') @push('libraries_top') @endpush @php $values = !empty($setting) ? $setting->value : null; if (!empty($values)) { $values = json_decode($values, true); } $featuredInstructors = collect(); $topMentors = collect(); if (!empty($values) and !empty($values['featured_instructors_ids']) and is_array($values['featured_instructors_ids'])) { $featuredInstructors = \App\User::query()->whereIn('id', $values['featured_instructors_ids'])->get(); } if (!empty($values) and !empty($values['top_mentors_ids']) and is_array($values['top_mentors_ids'])) { $topMentors = \App\User::query()->whereIn('id', $values['top_mentors_ids'])->get(); } @endphp @section('content')

{{ trans('update.settings') }}

{{ csrf_field() }}
{{ trans('update.featured_instructors') }}
{{ trans('public.images') }}
@foreach([1,2,3,4] as $step)
{{ trans('update.images_for_step_n',['step' => $step]) }}
@foreach(['main_image', 'overlay_image'] as $type) @php $key = "{$type}_step_{$step}"; @endphp
@endforeach
@endforeach
@endsection @push('scripts_bottom') @endpush