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

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

@isset($content)
@method('PUT') @else @endisset
@isset($content) @if ($content->type == 1) @foreach ($content->steps as $key => $step)
@if ($key == 0)
Step
@else
Step
@endif
@if ($step->hasMedia('service_step'))

icon
@endif
@foreach ($step->points as $pointkey => $point) @if ($pointkey == 0)
@else
@endif @endforeach
@endforeach @elseif ($content->type == 2) @foreach ($content->benefits as $key => $benefit)
@if ($key == 0)
Benefit
@else
Benefit
@endif
@if ($benefit->hasMedia('benefit_icon'))

icon
@endif
@endforeach @elseif ($content->type == 3)
Image Section
@if ($content->imageContent->hasMedia('service_image_content'))

icon
@endif
@endif @endisset

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