From a5d0c02e8839d379eab62714df68d6f5c3d3e219 Mon Sep 17 00:00:00 2001 From: noelma Date: Mon, 5 Aug 2019 10:00:15 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20pour=20la=20version=20al?= =?UTF-8?q?pha7.1=20du=20CMS.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/HookConfig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Services/HookConfig.php b/Services/HookConfig.php index 7ec9ec7..afb6d26 100644 --- a/Services/HookConfig.php +++ b/Services/HookConfig.php @@ -27,14 +27,14 @@ public function form(&$form, $data) return $form->group('start-config-fieldset', 'fieldset', function ($form) use ($data) { $form->legend('start-config-legend', 'Starterkit config') ->group('start-start_check-group', 'div', function ($form) use ($data) { - $form->checkbox('start_check', 'start_check', [ 'checked' => $data[ 'start_check' ] ]) + $form->checkbox('start_check', [ 'checked' => $data[ 'start_check' ] ]) ->label('start-start_check-label', ' Start check.', [ 'for' => 'start_check' ]); }, [ 'class' => 'form-group' ]) ->group('system-start_text-group', 'div', function ($form) use ($data) { $form->label('system-start_text-label', 'Start text') - ->text('start_text', 'start_text', [ + ->text('start_text', [ 'class' => 'form-control', 'required' => 1, 'placeholder' => 'Text exemple',