<td>
    {{ $item->published_at }}
</td>

<td>
    {{ $item->title }}
</td>

<td>
    {{ $item->articleAuthor ? $item->articleAuthor->full_name : '' }}
</td>

<td>
    {{ $item->articleType ? $item->articleType->title : '' }}
</td>

<td class="exclude">
    {!! Form::button('Run Report', ['data-article_slug' => $item->slug, 'class' => 'btn btn-default btn-block article_report', 'disabled' => $item->newsletters->isEmpty()]) !!}
</td>

<td class="exclude">
    @if($item->top_article == '1')
        {!! Form::button('Current', ['class' => 'btn btn-info btn-block top_article', 'disabled']) !!}
    @else
        {!! Form::button('Top Article', ['class' => 'btn btn-default btn-block top_article']) !!}
    @endif
</td>

<td class="exclude">
    <a target="_blank" class="btn btn-default btn-block" href="{{ $item->link }}">Preview</a>
</td>

<td class="exclude">
    @include('admin.partials.index_page.delete_button', ['action' => 'ArticlesController@destroy', 'value' => $item->slug])
</td>
