{{csrf_field()}} @if(isset($template->id)) @endif
Add Image
{{--SETTINGS--}}
{{-- @include('helpers.social_platform_limit')--}} @php $allChecked = true; $availablePlatforms = []; $_user = auth()->user(); if(isset($template->id)){ $allChecked = false; $availablePlatforms = $template->platform_arr(); } @endphp

Publish Post On:

@foreach($_user->platformAccounts as $platformAccount) @if($allChecked || in_array($platformAccount->platform_id, $availablePlatforms))
platform_id, $availablePlatforms)) checked @endif>
@endif @endforeach

Post Publishing Option:

Add to Queue Publish Now Schedule