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