- ->add('label', 'text', array('required' => true))
- ->add('save', 'submit')
+ ->add('label', TextType::class, [
+ 'required' => true,
+ 'attr' => [
+ 'placeholder' => 'tag.new.placeholder',
+ ],
+ ])
+ ->add('add', SubmitType::class, [
+ 'label' => 'tag.new.add',
+ ])