rename UserCurrentLocationType to more generic Select2UserLocationType

NB: used 2 times, check that all works
This commit is contained in:
2022-10-10 16:08:23 +02:00
parent 7276cb971f
commit 631111b0c7
4 changed files with 8 additions and 8 deletions

View File

@@ -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'