{ "module": "pipicar", "name": "pipicar.auto_classes", "type": "crud", "title": "Классы автомобилей", "withHeader": false, "data": { "table": "pipi_auto_classes", "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": 12, "input": { "name": "name", "label": "Название класса" } } ] } ] } }, "edit": { "title": "Редактирование класса", "template": "app.base.crud.form", "component": "App.components.Show", "form": { "rows": [ { "cols": [ { "size": 12, "input": { "name": "name", "label": "Название класса" } } ] } ], "submits": "struct:crud.form.edit.submits" } } } }, "actions": "struct:crud.actions" }