@extends('layouts.app') @section('content')

@if ($provider_svc->id === 1) Our Editors @elseif ($provider_svc->id === 2) Best Professional Writers @endif

@if ($provider_svc->id === 1) @endif @if ($provider_svc->id === 2) @endif

@if ($available_filter === 'unavailable') @if (!empty($editorsearch) || !empty($specialties)) Unavailable {{$provider_title}} @else All Unavailable {{$provider_title}} @endif @elseif($available_filter === 'available') @if (!empty($editorsearch) || !empty($specialties)) Available {{$provider_title}} @else All Available {{$provider_title}} @endif @endif

@if ($provider_svc->id === 1)
@else
@endif
@if (count($editors) == 0)

No {{$provider_title}} were found using the selected filters.

@else
@foreach ($editors as $provider_user_acct)
@include('partials.single_editor', ['user' => $provider_user_acct, 'profile_base_url' => $form_action, 'provider_svc_id' => $provider_svc->id])
@if ($loop->iteration % 2 === 0)
@endif @endforeach
@endif
@stop @push('footer_js') @endpush