mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
rename UserCurrentLocationType to more generic Select2UserLocationType
NB: used 2 times, check that all works
This commit is contained in:
@@ -12,7 +12,7 @@ declare(strict_types=1);
|
||||
namespace Chill\PersonBundle\Export\Filter\AccompanyingCourseFilters;
|
||||
|
||||
use Chill\MainBundle\Export\FilterInterface;
|
||||
use Chill\MainBundle\Form\UserCurrentLocationType;
|
||||
use Chill\MainBundle\Form\Type\Select2UserLocationType;
|
||||
use Chill\MainBundle\Templating\TranslatableStringHelper;
|
||||
use Chill\PersonBundle\Export\Declarations;
|
||||
use Doctrine\ORM\QueryBuilder;
|
||||
@@ -50,7 +50,7 @@ class AdministrativeLocationFilter implements FilterInterface
|
||||
public function buildForm(FormBuilderInterface $builder)
|
||||
{
|
||||
|
||||
$builder->add('accepted_locations', UserCurrentLocationType::class, [
|
||||
$builder->add('accepted_locations', Select2UserLocationType::class, [
|
||||
'label' => 'Accepted locations',
|
||||
'label_attr' => [
|
||||
//'class' => 'd-none'
|
||||
|
Reference in New Issue
Block a user