@extends('layouts.app') @section('title', '| Categories') @section('content')
@lang('category.title')
@foreach($category as $cat) @endforeach
# @lang('category.name') @lang('category.date') @lang('category.control')
{{ $cat->id }} {{ $cat->name }} {{ date('d-M-Y-g:i ', strtotime($cat->created_at)) }} {{Form::open(['route' => ['category.destroy', $cat->id], 'method' => 'DELETE' , 'id' => 'deleteFormCategory'])}} {{Form::button(' '.trans('button.delete'), ['class'=>'btn btn-xs btn-danger deleteBtnCategory', 'type'=>'submit', 'data-id' => $cat->id]) }} {{Form::close()}}
@endsection