{% extends 'layout.html' %}
{% block content %}
<div class="hide" style="margin-bottom:20px">
  <input autofocus="autofocus" style="width:100%" type="text" class="filter-list input-medium search-query" placeholder="Type here to filter">
</div>
<div style="-moz-column-count:4; -webkit-column-count:4; column-count:4;">
  {%- for key,facts_list in facts_dict %}
  <span class='label label-success'>{{key}}</span>
  <ul class="searchable">
    {%- for fact in facts_list %}
    <li><a href="{{url_for('fact', fact=fact)}}">{{fact}}</a></li>
    {%- endfor %}
  </ul>
  {% endfor %}
</div>
{% endblock content %}
