
{% extends 'oef/base.html' %}



{% block content %}
<h2>Formats</h2>
<a href="{% url 'oef:format_create' %}">Create a new format</a>
<a href="{% url 'oef:formats_dupe_view' %}">View dupes</a>

<ul>
{% for format in formats %}
<li>
    <a href="{% url 'oef:format_update' format.id %}">{{ format.name }}</a>
<a href="{% url 'oef:formats_apply' format.id %}">apply</a> [{{ format.get_entries.count }}]

{% if request.user.is_superuser %}
 <a href="{% url 'oef:formats_delete' format.id %}">(delete)</a>
    
{% endif %}
    
</li>
    
{% endfor %}
</ul>
    
    
{% endblock content %}
    