diff --git a/src/Web/AdminModule/ApplicationModule/Control/EnvironmentsForm/EnvironmentsFormControl.php b/src/Web/AdminModule/ApplicationModule/Control/EnvironmentsForm/EnvironmentsFormControl.php index b76c4e7..2c85140 100644 --- a/src/Web/AdminModule/ApplicationModule/Control/EnvironmentsForm/EnvironmentsFormControl.php +++ b/src/Web/AdminModule/ApplicationModule/Control/EnvironmentsForm/EnvironmentsFormControl.php @@ -60,7 +60,7 @@ protected function createComponentForm(): Form ->setDefaultValue('#ffffff') ->setHtmlAttribute('placeholder', 'color.placeholder') ->setOption('type', 'color-picker') - ->setOption('placement', 'bottom-right') + ->setOption('placement', 'bottom-left') ->setRequired('color.required') ->addRule(Form::Pattern, 'color.rule.pattern', '#([a-fA-F0-9]{3}){1,2}\b'); }, 0); diff --git a/src/Web/AdminModule/ApplicationModule/Control/EnvironmentsForm/templates/form.imports.latte b/src/Web/AdminModule/ApplicationModule/Control/EnvironmentsForm/templates/form.imports.latte index 4324da8..ddb1a3a 100644 --- a/src/Web/AdminModule/ApplicationModule/Control/EnvironmentsForm/templates/form.imports.latte +++ b/src/Web/AdminModule/ApplicationModule/Control/EnvironmentsForm/templates/form.imports.latte @@ -1,23 +1,23 @@ {define #container-name-environments} -
-
+
+
-
+
+
+ {include #helpers-override-split, blockNamePrefix => control, control => $formContainer->getComponent('color')} +
{include #helpers-override-split, blockNamePrefix => control, control => $formContainer->getComponent('code')}
{include #helpers-override-split, blockNamePrefix => control, control => $formContainer->getComponent('name')}
-
- {include #helpers-override-split, blockNamePrefix => control, control => $formContainer->getComponent('color')} -
{if $formContainer->getComponent(Contributte\FormMultiplier\Multiplier::SUBMIT_REMOVE_NAME, false)}
-
{if '' === $k} -
-

{_text_including}

+

{_text_including}

-
-
- -
+
+
+
+ +
-