{% load i18n admin_urls admin_list %}

{% if has_add_permission %}
  <li>
    {% url cl.opts|admin_urlname:'add' as add_url %}
    <a href="{% add_preserved_filters add_url is_popup to_field %}" class="addlink">{% translate "Create" %}</a>
  </li>
{% endif %}
