<%@language = "javascript" %>

<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_fac_usrtab.inc" -->

<%
    // Key is nodig voor de *data* die weer naar een andere tabel kan wijzen
    var tab_key = getQParamInt("customtable", getQParamInt("id", -1));
    scaffolding(new model_fac_usrtab(tab_key),
        {
            "search": {
                "autosearch": true,
                "filters": [
                    "description",
                    "authorization"
                ]
            },
            "list": {
                "columns": [
                    "id",
                    "name",
                    "description"
                ]
            },
            "layout": {
                "miscellaneous": {
                    "icon": "fa-table-list"
                }
            }
        });
%>
<% ASPPAGE_END(); %>
