@extends('accounts.nav') @section('content') @parent @include('accounts.nav_advanced') @if (Utils::isPro()) {{ Button::success_link(URL::to('users/create'), trans("texts.add_user"), array('class' => 'pull-right'))->append_with_icon('plus-sign') }} @endif {{ Datatable::table() ->addColumn( trans('texts.name'), trans('texts.email'), trans('texts.user_state'), trans('texts.action')) ->setUrl(url('api/users/')) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->setOptions('bAutoWidth', false) ->setOptions('aoColumns', [[ "sWidth"=> "20%" ], [ "sWidth"=> "45%" ], ["sWidth"=> "20%"], ["sWidth"=> "15%" ]]) ->setOptions('aoColumnDefs', [['bSortable'=>false, 'aTargets'=>[3]]]) ->render('datatable') }} {{ Former::open('users/delete')->addClass('user-form') }}
{{ Former::close() }} @stop