<button id="filter-toggle" type="button" class="btn btn-primary btn-xs" data-toggle="collapse" data-target="#filterdiv">
  Hide/Show filter
</button>
  
<div id="filterdiv" class="collapse well well-small">  
  <form method="POST" id="filter" class="nav form-search">
    <table class="searchTable">
      <tr>
        <td class="text">Host</td>
        <td colspan="5">
          <select onChange="timeSelectDisable()" name="host" id="host">
            <option value="all">all</option>
            <!-- TODO get hosts -->
            <option value="od-fd2b0a">od-fd2b0a</option>
            <option value="od-ef4270">od-ef4270</option>
          </select>
        </td>
      </tr>
      <tr>
        <td class="text">Package</td>
        <td>
          <input name="package" id="package" type="text" value="all"></input>
        </td>
        <td>Urgency</td>
        <td>
          <select name="urgency" id="urgency">
            <option value="all">all</option>
            <option value="low">low</option>
            <option value="medium">medium</option>
            <option value="high">high</option>
          </select>
        </td>
        </tr>
       <!-- {% if filters is defined %}
        {% for filterSet in filters %}
          {% if not (filterSet['auth'] and not current_user.is_authenticated()) %}
            <tr><td>{{filterSet['id']}}</td><td>
              {% for filter_ in filterSet['filters'] %}
                {% if   filter_['type'] == "select" %}
                  <select name="plug_{{filter_['id']}}" id="plug_{{filter_['id']}}">
                    {% for entry in filter_['values'] %} <option value="{{entry['id']}}">{{entry['text']}}</option> {% endfor %}
                  </select>
                {% elif filter_['type'] == "text" or filter_['type'] == "checkbox"%}
                  {% if 'label' in filter_ %}<span>{{filter_['label']}}</span>{% endif %}
                  <input name="plug_{{filter_['id']}}" id="plug_{{filter_['id']}}" type="{{filter_['type']}}"></input>
                {% endif %}
              {% endfor %}
            </td></tr>
          {% endif %}
        {% endfor %}
      {% endif %}-->
    </table>
    <input type="submit" value="Search"/>
  </form>
</div>
