@if($section)
@else @endif @csrf
@foreach(getStoreLanguages() as $language)
code",(!empty($section) && $section->translate($language->code)?$section->translate($language->code)->title:'')) }}" class="form-control mb-2{{ $errors->has("title.$language->code") ? ' is-invalid' : '' }}"> @if ($errors->has("title.$language->code")) {{ $errors->first("title.$language->code") }} @endif
@if($sectionType == \App\Constants\StoreSectionTypes::BIG_IMAGES_PRODUCTS)
@endif
@endforeach
@if(in_array($sectionType,[ \App\Constants\StoreSectionTypes::SMALL_IMAGES_PRODUCTS, \App\Constants\StoreSectionTypes::MIDDLE_IMAGES_PRODUCTS, \App\Constants\StoreSectionTypes::BIG_IMAGES_PRODUCTS, \App\Constants\StoreSectionTypes::GRID_PRODUCTS, ]))
@endif