@if (count($publishers) > 0)

@t('Publish your event to different platforms')

{{-- @foreach (array_slice($publishers, 0, 4) as $key => $publisher) --}} @foreach ($publishers as $key => $publisher) @include( 'Plugins/Payment/Views/Elements/Publisher/row', ['publisher' => $publisher] ) @endforeach {{-- @if (count(array_slice($publishers, 4)) > 0)
@endif --}}
@if (is_admin() && isset($data->Event->EventsPublisher) && $data->Event->EventsPublisher)

@t('Requested publishers')

@foreach ($data->Event->EventsPublisher as $key => $publisher) @endforeach
@t('Publisher') @t('Link') @t('Status')
{{ $publisher->Publisher->name }} {!! Form::text( 'data[Event][EventsPublisher][' . $key . '][url]', ( isset($data->Event->EventsPublisher->{$key}->url) ? $data->Event->EventsPublisher->{$key}->url : null ) ) !!} {!! Form::select( 'data[Event][EventsPublisher][' . $key . '][status]', [ 'published' => t('Published'), 'passwords' => t('Awaiting Passwords'), 'approval' => t('Pending Approval from Publisher') ], ( isset($data->Event->EventsPublisher->{$key}->status) ? $data->Event->EventsPublisher->{$key}->status : null ) ) !!}
@endif
@endif