@extends('admin.layouts.main', array('scripts' => array(path_asset('path.backoffice.js_path') . '/view/trash.js')))

@section('content')
    <div id="generic_wrapper">
        <h1>Trash</h1>
        <div class="grid-btns-wrapper">

        </div>
        <div id="assessments">
            <table id="grid" class="table table-condensed table-hover table-striped">
                <thead>
                    <tr>
                        <th data-column-id="website_object_id" data-type="numeric" data-identifier="true" data-visible="false">Website Obj ID</th>
                        <th data-column-id="object_id" data-type="numeric">Obj ID</th>
                        <th data-column-id="deleted_at" data-type="datetime" data-order="desc" data-formatter="dateFormatter">Deleted At</th>
                        <th data-column-id="object_type">Type</th>
                        <th data-column-id="title">Title</th>
                        <th data-column-id="status">Status</th>
                        <th data-column-id="commands" data-formatter="commands" data-sortable="false">Actions</th>
                    </tr>
                </thead>
            </table>
        </div>
    </div>
    <script>
        $(function() {
            var assessmentsView = new Eae.View.Trash({
                el : $('#generic_wrapper'),
                userId : "{{ getAdminUser()->id }}"
            });
        });
    </script>
@stop
