Add icons for filterForm
This commit is contained in:
parent
c7b400cec3
commit
48bf4f26c4
1 changed files with 6 additions and 3 deletions
|
@ -15,13 +15,16 @@ class OfferFilterFormType extends AbstractType
|
|||
{
|
||||
$builder
|
||||
->add('search', TextType::class, [
|
||||
'label' => 'Search',
|
||||
'label' => '<i class="fas fa-search mr-1"></i>Search',
|
||||
'label_html' => true,
|
||||
])
|
||||
->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, [
|
||||
'label' => 'Distance',
|
||||
'label' => '<i class="fas fa-map-signs mr-1"></i>Distance',
|
||||
'label_html' => true,
|
||||
])
|
||||
->add('Apply', SubmitType::class)
|
||||
;
|
||||
|
|
Reference in a new issue