{% load combo %}
{% block cell-content %}
{% if forms %}
<ul>
  {% for data in forms.data|dictsortreversed:"form_receipt_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">({% if data.form_digest %}{{data.form_digest}}{% else %}{{data.form_number}}, {{data.datetime|strptime:"%Y-%m-%d %H:%M:%S"}}{% endif %})</span>
    {% endif %}
    <span class="form-status">{{data.status}}</span></a></li>
  {% endif %}
  {% endfor %}
</ul>
{% endif %}
{% endblock %}
