@extends('admin.layouts.app') @section('panel')
@csrf @if(@$data) @endif
@php $imgCount = 0; @endphp @foreach($section->element as $k => $content) @if($k == 'images') @php $imgCount = collect($content)->count(); @endphp @foreach($content as $imgKey => $image)
@lang('Supported files'): @lang('jpeg'), @lang('jpg'), @lang('png'). @if(@$section->element->images->$imgKey->size) | @lang('Will be resized to'): {{@$section->element->images->$imgKey->size}} @lang('px'). @endif
@endforeach
@push('divend')
@endpush @elseif($content == 'icon')
@else @if($content == 'textarea')
@elseif($content == 'textarea-nic')
@elseif($k == 'select') @php $selectName = $content->name; @endphp
@else
@endif @endif @endforeach @stack('divend')
@endsection @push('style-lib') @endpush @push('script-lib') @endpush @push('script') @endpush