You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
528 B
PHP
21 lines
528 B
PHP
<?php
|
|
|
|
namespace App\Form;
|
|
|
|
use Symfony\Component\Form\AbstractType;
|
|
use Symfony\Component\OptionsResolver\OptionsResolver;
|
|
|
|
abstract class AbstractBootstrapForm extends AbstractType {
|
|
public function configureOptions (OptionsResolver $resolver) {
|
|
parent::configureOptions($resolver);
|
|
|
|
$resolver->setDefaults(
|
|
[
|
|
'attr' => [
|
|
'class' => 'form-validation',
|
|
'novalidate' => 'novalidate',
|
|
],
|
|
]
|
|
);
|
|
}
|
|
} |