{% load combo %}{% comment %}overload to show an unique sorted list of forms, forms.data is replaced by forms {% endcomment %}
{% block cell-content %}
  {% if forms %}
    <ul>
      {% for data in forms|dictsortreversed:"form_last_update_datetime" %}
        {% if data.url and data.title %}
          <li class="{{data.status_css_class}} {% if data.form_status_is_endpoint %}done{% endif %}"><a
            {% if data.readable %}href="{{ data.url }}"{% endif %}><span class="form-title">{{data.name}}</span>
            {% if data.draft %}
              <span class="form-number">{{data.datetime|strptime:"%Y-%m-%d %H:%M:%S"}}</span>
            {% else %}
              <span class="form-number">{{data.form_number}}
                {% if data.form_digest %}<span class="form-digest">({{data.form_digest}})</span>{% endif %}
              </span>
            {% endif %}
            <span class="form-status">{{data.status}}</span></a></li>
        {% endif %}
      {% endfor %}
    </ul>
  {% endif %}
{% endblock %}
