<%@language = "javascript" %>

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

<%
    var url = "appl/shared/BijlagenForm.asp?module=RESPH";
    var proturl = protectQS.create(url);
    var fotoaction = "FcltMgr.openDetail('" + safe.jsstring(proturl) + "', L(\"lcl_photos\"))";

    scaffolding(new model_res_ruimte(),
    {
        "search": {
                      autosearch: false
                  },
        "show":   {
                      js: ["./mgt_tools.js"],
                      buttons: [{ title: L("lcl_photos"), action: safe.htmlattr(fotoaction), icon: "folder.png" }]
                  },
        "edit":   {
                      js: ["./mgt_tools.js"],
                      buttons: [{ title: L("lcl_photos"), action: safe.htmlattr(fotoaction), icon: "folder.png" }]
                  }
        });
%>
