Skip to content
Snippets Groups Projects
Commit dd67507e authored by Johannes Kreiner's avatar Johannes Kreiner
Browse files

[TASK] Remove unnecessary white-space in Filter component

parent 611034bb
No related branches found
No related tags found
1 merge request!50Bootstrap 5 Support
......@@ -3,70 +3,68 @@
objectName="filters" object="{filters}">
<f:form.hidden value="{limit}" name="filter-limit"/>
<f:form.hidden id="filter-recordPageId" name="recordPageIds" value="{recordPageIds}"/>
<div class="mb-4">
<div class="row default-content-element">
<div class="col-md-3 col-sm-6 col-xs-12">
<label for="filter-countries" class="form-label">
<f:translate key="frontend.filter.countries"/>
</label>
<f:form.select
class="form-select"
size="1"
value="{selectedCountry}"
property="filterCountry"
optionValueField="value"
options="{countries}"
prependOptionLabel="{f:translate(key: 'frontend.filter.selections.all')}"
prependOptionValue="0"
id="filter-countries"/>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<label for="filter-locations" class="form-label">
<f:translate key="frontend.filter.locations"/>
</label>
<f:form.select
class="form-select"
size="1"
value="{selectedLocation}"
property="filterLocation"
optionValueField="value"
options="{cities}"
prependOptionLabel="{f:translate(key: 'frontend.filter.selections.all')}"
prependOptionValue="0"
id="filter-locations"/>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<label for="filter-departments" class="form-label">
<f:translate key="frontend.filter.departments"/>
</label>
<f:form.select
class="form-select"
size="1"
value="{selectedDepartment}"
property="filterDepartment"
optionLabelField="title"
optionValueField="uid"
options="{departments}"
prependOptionLabel="{f:translate(key: 'frontend.filter.selections.all')}"
prependOptionValue="0"
id="filter-departments"/>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<label for="filter-experienceLevels" class="form-label">
<f:translate key="frontend.filter.experienceLevels"/>
</label>
<f:form.select
class="form-select"
size="1"
value="{selectedExperienceLevel}"
property="filterExperienceLevel"
optionLabelField="title"
optionValueField="uid"
options="{experienceLevels}"
prependOptionLabel="{f:translate(key: 'frontend.filter.selections.all')}"
prependOptionValue="0"
id="filter-experienceLevels"/>
</div>
<div class="row default-content-element">
<div class="col-md-3 col-sm-6 col-xs-12">
<label for="filter-countries" class="form-label">
<f:translate key="frontend.filter.countries"/>
</label>
<f:form.select
class="form-select"
size="1"
value="{selectedCountry}"
property="filterCountry"
optionValueField="value"
options="{countries}"
prependOptionLabel="{f:translate(key: 'frontend.filter.selections.all')}"
prependOptionValue="0"
id="filter-countries"/>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<label for="filter-locations" class="form-label">
<f:translate key="frontend.filter.locations"/>
</label>
<f:form.select
class="form-select"
size="1"
value="{selectedLocation}"
property="filterLocation"
optionValueField="value"
options="{cities}"
prependOptionLabel="{f:translate(key: 'frontend.filter.selections.all')}"
prependOptionValue="0"
id="filter-locations"/>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<label for="filter-departments" class="form-label">
<f:translate key="frontend.filter.departments"/>
</label>
<f:form.select
class="form-select"
size="1"
value="{selectedDepartment}"
property="filterDepartment"
optionLabelField="title"
optionValueField="uid"
options="{departments}"
prependOptionLabel="{f:translate(key: 'frontend.filter.selections.all')}"
prependOptionValue="0"
id="filter-departments"/>
</div>
<div class="col-md-3 col-sm-6 col-xs-12">
<label for="filter-experienceLevels" class="form-label">
<f:translate key="frontend.filter.experienceLevels"/>
</label>
<f:form.select
class="form-select"
size="1"
value="{selectedExperienceLevel}"
property="filterExperienceLevel"
optionLabelField="title"
optionValueField="uid"
options="{experienceLevels}"
prependOptionLabel="{f:translate(key: 'frontend.filter.selections.all')}"
prependOptionValue="0"
id="filter-experienceLevels"/>
</div>
</div>
<div class="row default-content-element">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment