@extends('admin.layouts.master') @section('title')

{{ trans('admin.List') }} {{trans("admin.Tag")}}

@stop @section('content') @if(ACL::can('create-'.$module)) {{trans('admin.Create')}} @endif @if (!$rows->isEmpty()) {!! Form::open(['url' => 'admin/'.$module.'/delete', 'method' => 'post','class'=>'form-horizontal style-form','enctype'=>'multipart/form-data'] ) !!}
@if(isset($rows[0]->published)) @if(ACL::can('publish-'.$module)) @endif @endif @foreach ($rows as $row) @if(isset($row->published)) @if(ACL::can('publish-'.$module)) @endif @endif @endforeach
{{trans('admin.ID')}} {{trans('admin.Title')}} {{trans('admin.Created at')}}{{trans('admin.Published')}}? 
{{$row->id}} {{$row->title}} {{$row->created_at}} @if ($row->published == 1) 1 @else 0 @endif @if(ACL::can('edit-'.$module)) @endif @if(ACL::can('view-'.$module)) @endif @if(ACL::can('delete-'.$module)) @endif
{!! Form::close() !!} @else {{trans("admin.There is no results")}} @endif @stop