src/StartPlatz/Bundle/AlphaBundle/Resources/views/Job/_table.set.filter.html.twig line 1

Open in your IDE?
  1. <table>
  2.     <tr>
  3.         <td style="padding-right: 5px; width: 30%">
  4.             <form style="" class="" id="filter-form" action="{{ path(currentPath) }}" method="get">
  5.                 <select  class="form-control" name="jobType" onchange="document.getElementById('filter-form').submit()">
  6.                     <option value="" disabled selected hidden>Job Type</option>
  7.                     {% for job in jobTypes %}
  8.                         <option {{ job == selectedJobType ? 'selected' : '' }}>{{ job }}</option>
  9.                     {% endfor %}
  10.                     {% if selectedJobType == NULL %}
  11.                         <option value="" disabled selected hidden>Job Type</option>
  12.                     {% endif %}
  13.                 </select>
  14.         </td>
  15.         <td style="padding-right: 5px; width: 30%">
  16.             <form style="" class="" id="filter-form" action="{{ path(currentPath) }}" method="get">
  17.                 <select  class="form-control" name="companyType" onchange="document.getElementById('filter-form').submit()">
  18.                     <option value="" disabled selected hidden>Company Type</option>
  19.                     {% for companyType in companyTypes %}
  20.                         <option {{ companyType == selectedCompanyType ? 'selected' : '' }}>{{ companyType }}</option>
  21.                     {% endfor %}
  22.                     {% if selectedCompanyType == NULL %}
  23.                         <option value="" disabled selected hidden>Company Type</option>
  24.                     {% endif %}
  25.                 </select>
  26.         </td>
  27.         <td style="padding-left: 5px; width: 30%">
  28.            <select style="width: 100%" class="form-control" name="location" onchange="document.getElementById('filter-form').submit()">
  29.                 <option value="" disabled selected hidden>Standort</option>
  30.                 {% for location in locations %}
  31.                     <option {{ location == selectedLocation ? 'selected' : '' }}>{{ location }}</option>
  32.                 {% endfor %}
  33.             </select>
  34.             </form>
  35.         </td>
  36.     </tr>
  37. </table>