mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 23:53:50 +00:00
Fixed template horizontal form theme for ckeditor comments fields with fullWidth parameter
Notes: The 'fullwidth' parameter allow to force enlarge textarea ckeditor field, escaping horizontal bootstrap theme position rule (4/12 - 8/12)
This commit is contained in:
@@ -56,12 +56,7 @@ class CommentType extends AbstractType
|
||||
|
||||
public function buildView(FormView $view, FormInterface $form, array $options)
|
||||
{
|
||||
$view->vars = array_replace(
|
||||
$view->vars,
|
||||
[
|
||||
'fullWidth' => true,
|
||||
]
|
||||
);
|
||||
$view->vars['fullWidth'] = true;
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
|
@@ -95,12 +95,7 @@ class ScopePickerType extends AbstractType
|
||||
|
||||
public function buildView(FormView $view, FormInterface $form, array $options)
|
||||
{
|
||||
$view->vars = array_replace(
|
||||
$view->vars,
|
||||
[
|
||||
'fullWidth' => true,
|
||||
]
|
||||
);
|
||||
$view->vars['fullWidth'] = true;
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
|
Reference in New Issue
Block a user