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

{{trans('admin.List Admins')}}

@stop @section('content')
@if(ACL::can('create-'.$module)) إضافة @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.Name')}} {{trans('admin.Email')}} {{trans('admin.Job')}} {{trans('admin.Created at')}}{{trans('admin.Published')}}? 
{{$row->id}} {{$row->name}} {!! $row->email !!} {!! @$row->job->name !!} {{$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 @section('javascripts') @stop