@extends('dashboard.layouts.app') @section('page-title', trans('news.caption.index')) @section('page-menu') @lang('news.button.create') @stop @section('breadcrumbs')
| @lang('global.legend.id') | @lang('global.legend.thumbnail') | @lang('global.legend.name') @lang('global.and') @lang('global.legend.slug') | @lang('global.legend.attachments') | @lang('global.legend.publishedAt') | |
|---|---|---|---|---|---|
| {{ $article->id }} |
@if ($article->existsThumbnail())
|
{!! $article->translate('name') !!}
{{ $article->slug }} |
@if (!$article->attachments->isEmpty())
|
{{ $article->published_at->format('d/m/Y - H:i') }} | @lang('global.button.edit') {!! Form::model($news, [ 'method' => 'DELETE', 'route' => ['dashboard.news.destroy', $article->id], 'class' => 'd-inline', 'onsubmit' => 'confirmDialog("' . trans('news.modal.delete', ['id' => $article->id]) . '", event)' ]) !!} {!! Form::close() !!} |