@extends('admin.layouts.main', [
    'scripts' => [
        path_asset('path.backoffice.js_path') . '/view/frontend_user/users-list.js'
    ]
])

@section('content')
    <h1>{{ trans('backend.manage_frontend_users') }}</h1>
    <div id="frontend_users">
        <table id="grid" class="table table-condensed table-hover table-striped">
            <thead>
            <tr>
                <th data-column-id="id" data-type="numeric" data-identifier="true">ID</th>
                <th data-column-id="name" data-order="asc">{{ trans('form.name') }}</th>
                <th data-column-id="email">{{ trans('form.email') }}</th>
                <th data-column-id="commands" data-formatter="commands" data-sortable="false">{{ trans('backend.actions') }}</th>
            </tr>
            </thead>
        </table>
    </div>
    <script>
        $(function() {
            var manageUsersView = new Eae.View.UsersList({
                el : $('#frontend_users')
            });
        });
    </script>
@stop
