+
+ //Is admin and locked === null
+ if (!empty($options['attribute'])) {
+ //Add attribute fields
+ $builder
+ ->add('attribute', SubmitType::class, ['label' => 'Attribute', 'attr' => ['class' => 'submit']])
+ ->add('autoattribute', SubmitType::class, ['label' => 'Auto attribute', 'attr' => ['class' => 'submit']]);
+ }