Add icons for filterForm

This commit is contained in:
Jannis Portmann 2022-01-26 12:37:20 +01:00
parent c7b400cec3
commit 48bf4f26c4

View file

@ -15,13 +15,16 @@ class OfferFilterFormType extends AbstractType
{ {
$builder $builder
->add('search', TextType::class, [ ->add('search', TextType::class, [
'label' => 'Search', 'label' => '<i class="fas fa-search mr-1"></i>Search',
'label_html' => true,
]) ])
->add('zipCode', NumberType::class, [ ->add('zipCode', NumberType::class, [
'label' => 'ZIP', 'label' => '<i class="fas fa-map-marker-alt mr-2"></i>ZIP',
'label_html' => true,
]) ])
->add('distance', NumberType::class, [ ->add('distance', NumberType::class, [
'label' => 'Distance', 'label' => '<i class="fas fa-map-signs mr-1"></i>Distance',
'label_html' => true,
]) ])
->add('Apply', SubmitType::class) ->add('Apply', SubmitType::class)
; ;