From 9e8800a8ba9dc3e987b2a744a6acaca9c2c05bce Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sun, 16 Jul 2023 18:56:46 +0300 Subject: [PATCH] layout create modal change --- client/src/views/admin/layouts/modals/create.js | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/client/src/views/admin/layouts/modals/create.js b/client/src/views/admin/layouts/modals/create.js index e791b6993b..f9c0648352 100644 --- a/client/src/views/admin/layouts/modals/create.js +++ b/client/src/views/admin/layouts/modals/create.js @@ -39,7 +39,8 @@ class LayoutCreateModalView extends ModalView { // language=Handlebars templateContent = `
{{complexText info}}
-
{{{record}}}
` +
{{{record}}}
+ ` className = 'dialog dialog-record' @@ -91,7 +92,7 @@ class LayoutCreateModalView extends ModalView { model: this.model, detailLayout: [ { - rows: [ + columns: [ [ { labelText: this.translate('type', 'fields', 'Admin'), @@ -104,9 +105,6 @@ class LayoutCreateModalView extends ModalView { }, }), }, - false - ], - [ { labelText: this.translate('name', 'fields'), view: new VarcharFieldView({ @@ -118,9 +116,6 @@ class LayoutCreateModalView extends ModalView { }, }), }, - false - ], - [ { labelText: this.translate('label', 'fields', 'Admin'), view: new VarcharFieldView({ @@ -131,8 +126,8 @@ class LayoutCreateModalView extends ModalView { }, }), }, - false ], + [] ] } ]