@@ -35,22 +35,22 @@ public function buildForm(FormBuilderInterface $builder, array $options)
3535 ->add ('size ' , ChoiceType::class, [
3636 'label ' => 'widget.button.form.label.size ' ,
3737 'choices ' => [
38- 'md ' => ' widget.button.form.choice.size.normal ' ,
39- 'sm ' => ' widget.button.form.choice.size.tiny ' ,
40- 'lg ' => ' widget.button.form.choice.size.large ' ,
38+ 'widget.button.form.choice.size.normal ' => ' md ' ,
39+ 'widget.button.form.choice.size.tiny ' => ' sm ' ,
40+ 'widget.button.form.choice.size.large ' => ' lg ' ,
4141 ],
4242 'required ' => true ,
4343 ])
4444 ->add ('style ' , ChoiceType::class, [
4545 'label ' => 'widget.button.form.label.style ' ,
4646 'choices ' => [
47- 'default ' => ' widget.button.form.choice.style.label.default ' ,
48- 'primary ' => ' widget.button.form.choice.style.label.primary ' ,
49- 'success ' => ' widget.button.form.choice.style.label.success ' ,
50- 'info ' => ' widget.button.form.choice.style.label.info ' ,
51- 'warning ' => ' widget.button.form.choice.style.label.warning ' ,
52- 'danger ' => ' widget.button.form.choice.style.label.danger ' ,
53- 'link ' => ' widget.button.form.choice.style.label.link ' ,
47+ 'widget.button.form.choice.style.label.default ' => ' default ' ,
48+ 'widget.button.form.choice.style.label.primary ' => ' primary ' ,
49+ 'widget.button.form.choice.style.label.success ' => ' success ' ,
50+ 'widget.button.form.choice.style.label.info ' => ' info ' ,
51+ 'widget.button.form.choice.style.label.warning ' => ' warning ' ,
52+ 'widget.button.form.choice.style.label.danger ' => ' danger ' ,
53+ 'widget.button.form.choice.style.label.link ' => ' link ' ,
5454 ],
5555 'required ' => true ,
5656 ])
0 commit comments