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