|
|
@@ -50,34 +50,43 @@
|
|
|
<a href="#" class="activate-list-view"><f:translate key="list"/></a>
|
|
|
</header>
|
|
|
<div class="structure-search">
|
|
|
- <form>
|
|
|
- <div class="search-loc-wrapper">
|
|
|
+ <form method="get" id="structure-search-form">
|
|
|
+ <div class="search-bar-wrapper">
|
|
|
<input type="text"
|
|
|
- name="search-loc"
|
|
|
+ name="search-query"
|
|
|
+ class="search-bar"
|
|
|
value="{ot:request.getArgument(argument: 'search-loc')}"/>
|
|
|
- <button type="submit" class="search-submit">
|
|
|
+ <button class="search-submit"
|
|
|
+ name="search-submit"
|
|
|
+ >
|
|
|
<i class="fas fa-search"></i>
|
|
|
</button>
|
|
|
</div>
|
|
|
|
|
|
<div class="filters">
|
|
|
- <select class="search-type">
|
|
|
- <option value="-1">Type</option>
|
|
|
- <option value="0">Harmonie</option>
|
|
|
- <option value="0">Orchestre</option>
|
|
|
- <option value="0">Chorale</option>
|
|
|
- <option value="0">Ecole de musique</option>
|
|
|
- </select>
|
|
|
- <select class="search-province">
|
|
|
- <option value="-1">Région</option>
|
|
|
- <option value="0">Alsace</option>
|
|
|
- </select>
|
|
|
- <select class="search-federation">
|
|
|
- <option value="-1">Fédération</option>
|
|
|
- <option value="0">CMF</option>
|
|
|
- </select>
|
|
|
+ <f:form.select name="search-category"
|
|
|
+ value="{ot:request.getArgument(argument: 'search-category')}">
|
|
|
+ <f:form.select.option value="">Type</f:form.select.option>
|
|
|
+ <f:form.select.option value="1MC">{f:translate(key: '1MC')}</f:form.select.option>
|
|
|
+ <f:form.select.option value="2TH">{f:translate(key: '2TH')}</f:form.select.option>
|
|
|
+ <f:form.select.option value="3DA">{f:translate(key: '3DA')}</f:form.select.option>
|
|
|
+ <f:form.select.option value="5FA">{f:translate(key: '5FA')}</f:form.select.option>
|
|
|
+ <f:form.select.option value="OTAR">{f:translate(key: 'OTAR')}</f:form.select.option>
|
|
|
+ <f:form.select.option value="OTCI">{f:translate(key: 'OTCI')}</f:form.select.option>
|
|
|
+ <f:form.select.option value="6AR">{f:translate(key: '6AR')}</f:form.select.option>
|
|
|
+ <f:form.select.option value="8CI">{f:translate(key: '8CI')}</f:form.select.option>
|
|
|
+ <f:form.select.option value="OTAU">{f:translate(key: 'OTAU')}</f:form.select.option>
|
|
|
+ </f:form.select>
|
|
|
+ <f:form.select class="search-province">
|
|
|
+ <f:form.select.option value="">Région</f:form.select.option>
|
|
|
+ <f:form.select.option value="0">Alsace</f:form.select.option>
|
|
|
+ </f:form.select>
|
|
|
+ <f:form.select class="search-federation">
|
|
|
+ <f:form.select.option value="">Fédération</f:form.select.option>
|
|
|
+ <f:form.select.option value="0">CMF</f:form.select.option>
|
|
|
+ </f:form.select>
|
|
|
<select class="search-distance-max">
|
|
|
- <option value="-1">Distance</option>
|
|
|
+ <option value="">Distance</option>
|
|
|
<option value="0">100</option>
|
|
|
</select>
|
|
|
|