Update form template "Relax" definition to display correctly

The popup and slide-in forms should not display email input and submit button in columns.
[MAILPOET-5047]
This commit is contained in:
Rostislav Wolny
2023-02-02 09:57:47 +01:00
committed by Aschepikov
parent d061d451a4
commit a76fb6c63a
2 changed files with 68 additions and 132 deletions

View File

@ -78,17 +78,6 @@ class Template7Popup extends FormTemplate {
'id' => 'divider', 'id' => 'divider',
'name' => 'Divider', 'name' => 'Divider',
], ],
[
'type' => 'columns',
'body' => [
[
'type' => 'column',
'params' => [
'class_name' => '',
'vertical_alignment' => '',
'width' => '50',
],
'body' => [
[ [
'type' => 'text', 'type' => 'text',
'params' => [ 'params' => [
@ -108,16 +97,6 @@ class Template7Popup extends FormTemplate {
'border_radius' => '6', 'border_radius' => '6',
], ],
], ],
],
],
[
'type' => 'column',
'params' => [
'class_name' => '',
'vertical_alignment' => '',
'width' => '50',
],
'body' => [
[ [
'type' => 'submit', 'type' => 'submit',
'params' => [ 'params' => [
@ -138,17 +117,6 @@ class Template7Popup extends FormTemplate {
'font_family' => 'Cairo', 'font_family' => 'Cairo',
], ],
], ],
],
],
],
'params' => [
'vertical_alignment' => '',
'class_name' => '',
'text_color' => '',
'background_color' => '',
'gradient' => '',
],
],
[ [
'type' => 'paragraph', 'type' => 'paragraph',
'id' => 'paragraph', 'id' => 'paragraph',

View File

@ -78,17 +78,6 @@ class Template7SlideIn extends FormTemplate {
'id' => 'divider', 'id' => 'divider',
'name' => 'Divider', 'name' => 'Divider',
], ],
[
'type' => 'columns',
'body' => [
[
'type' => 'column',
'params' => [
'class_name' => '',
'vertical_alignment' => '',
'width' => '50',
],
'body' => [
[ [
'type' => 'text', 'type' => 'text',
'params' => [ 'params' => [
@ -108,16 +97,6 @@ class Template7SlideIn extends FormTemplate {
'border_radius' => '6', 'border_radius' => '6',
], ],
], ],
],
],
[
'type' => 'column',
'params' => [
'class_name' => '',
'vertical_alignment' => '',
'width' => '50',
],
'body' => [
[ [
'type' => 'submit', 'type' => 'submit',
'params' => [ 'params' => [
@ -138,17 +117,6 @@ class Template7SlideIn extends FormTemplate {
'font_family' => 'Cairo', 'font_family' => 'Cairo',
], ],
], ],
],
],
],
'params' => [
'vertical_alignment' => '',
'class_name' => '',
'text_color' => '',
'background_color' => '',
'gradient' => '',
],
],
[ [
'type' => 'paragraph', 'type' => 'paragraph',
'id' => 'paragraph', 'id' => 'paragraph',