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