{% load i18n %}
{% load url from future %}

<ul class="nav nav-pills filter">
  <li><a href="{% url "documents_browse" %}"{% if document_filter  == "date" %} class="selected"{% endif %}>{% trans "Most recent" %}</a></li>
  <li><a href="{% url "document_browse_popular" %}"{% if document_filter == "popular_count" %} class="selected"{% endif %}>{% trans "Most popular" %}</a></li>
  <li><a href="{% url "document_browse_shared" %}"{% if document_filter == "share_count" %} class="selected"{% endif %}>{% trans "Most shared" %}</a></li>
  {% comment %}
  <li>
    <form action="." class="form-inline">
      <label for="">{% trans "sort by:" %}</label>
      <select name="sort" id="layer_sort" class="span1">
        <option value="">{% trans "Newest" %}</option>
        <option value="">{% trans "Popularity" %}</option>
      </select>
    </form>
  </li>
{% endcomment %}
</ul>
