@extends('layout.master') @push('plugin-styles') @endpush @push('style') @endpush @section('content')

@isset($content) Edit @else Create @endisset Solutions Section

@isset($content)
@method('PUT') @else @endisset
@isset($content) @if ($content->type == 1)
Main Section
@if ($content->mainSection->hasMedia('service_category_section_image'))

icon
@endif
@if ($content->mainSection->hasMedia('service_category_brand_logo'))

icon
@endif
@elseif ($content->type == 2)
Secondary Section
@if ($content->secondarySection->hasMedia('service_category_section_image'))

icon
@endif
@elseif ($content->type == 3)
@foreach ($content->products as $product)
Product
@if ($product->hasMedia('service_category_product_image'))

icon
@endif
@endforeach @endif @endisset

@endsection @push('plugin-scripts') @endpush @push('custom-scripts') @endpush