{ "module": "pipicar", "name": "pipicar.address", "type": "crud", "title": "Адреса", "withHeader": false, "data": { "table": "pipi_address", "pk": "id", "limit": 25, "segment": true, "timestamp": false, "fields": { "id": { "type": "pk" }, "name": { "type": "string" } } }, "ui": { "grid": { "title": "Адреса", "component": "App.components.Grid", "cols": [ { "name": "name", "caption": "Адрес" } ], "action": { "head": [ "add" ], "row": [ "edit", "delete" ] }, "filter": { "template": "app.base.crud.filter", "rows": [ { "cols": [ { "size": 6, "input": { "name": "name", "label": "Название цвета" } } ] } ] } }, "forms": { "add": { "title": "Адрес", "template": "app.base.crud.form", "component": "App.components.Show", "form": { "submits": "struct:crud.form.edit.submits", "rows": [ { "cols": [ { "size": 6, "input": { "name": "name", "label": "Название" } } ] } ] } }, "edit": { "title": "Адрес", "template": "app.base.crud.form", "component": "App.components.Show", "form": { "rows": [ { "cols": [ { "size": 6, "input": { "name": "name", "label": "Название" } } ] } ], "submits": "struct:crud.form.edit.submits" } } } }, "actions": "struct:crud.actions" }