@extends('admin.layouts.master') @section('content')
|
@endcan
{{ trans('app.background_image') }} | {{ trans('app.cover_image') }} | {{ trans('app.category_group') }} | {{ trans('app.sub_groups') }} | {{ trans('app.order') }} | |
---|---|---|---|---|---|---|
@endcan | @if (Storage::exists(optional($categoryGrp->backgroundImage)->path)) @endif | @if (Storage::exists(optional($categoryGrp->coverImage)->path)) @endif |
{{ $categoryGrp->name }} @unless ($categoryGrp->active) {{ trans('app.inactive') }} @endunless@if ($categoryGrp->description) {!! Str::limit($categoryGrp->description, 220) !!} @endif |
{{ $categoryGrp->sub_groups_count }} | {{ $categoryGrp->order }} | @can('update', $categoryGrp) @endcan @can('delete', $categoryGrp) {!! Form::open(['route' => ['admin.catalog.categoryGroup.trash', $categoryGrp->id], 'method' => 'delete', 'class' => 'data-form']) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent', 'title' => trans('app.trash'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!} {!! Form::close() !!} @endcan |