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

{!! link_to_route('users.create', trans('quickadmin::admin.users-index-add_new'), [], ['class' => 'btn btn-success']) !!}

@if($users->count() > 0)
{{ trans('quickadmin::admin.users-index-users_list') }}
@foreach ($users as $user) @endforeach
{{ trans('quickadmin::admin.users-index-name') }}  
{{ $user->name }} {!! link_to_route('users.edit', trans('quickadmin::admin.users-index-edit'), [$user->id], ['class' => 'btn btn-xs btn-info']) !!} {!! Form::open(['style' => 'display: inline-block;', 'method' => 'DELETE', 'onsubmit' => 'return confirm(\'' . trans('quickadmin::admin.users-index-are_you_sure') . '\');', 'route' => array('users.destroy', $user->id)]) !!} {!! Form::submit(trans('quickadmin::admin.users-index-delete'), array('class' => 'btn btn-xs btn-danger')) !!} {!! Form::close() !!}
@else {{ trans('quickadmin::admin.users-index-no_entries_found') }} @endif @endsection