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

@@ -9,7 +9,7 @@ declare(strict_types=1);
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\MainBundle\Form;
namespace Chill\MainBundle\Form\Type;
use Chill\MainBundle\Entity\Location;
use Chill\MainBundle\Repository\LocationRepository;
@@ -21,7 +21,7 @@ use Symfony\Component\Form\FormInterface;
use Symfony\Component\Form\FormView;
use Symfony\Component\OptionsResolver\OptionsResolver;
class UserCurrentLocationType extends AbstractType
class Select2UserLocationType extends AbstractType
{
private LocationRepository $locationRepository;
@@ -69,6 +69,6 @@ class UserCurrentLocationType extends AbstractType
public function getBlockPrefix()
{
return 'user_current_location_type';
return 'select2_user_location_type';
}
}