{% extends "admin/base_site.html" %}
{% load i18n %}

{% block content %}
<h1>{% trans "Clear Cache" %}</h1>
<form method="post" class="mt-5">
    {% csrf_token %}
    <div>
        <label for="id_viewset_class">{% trans "Select ViewSet class to clear cache" %}:</label>
        {{ form.viewset_class }}
    </div>
    <br>
    <input type="submit" name="clear_cache_for_class" value="{% trans "Clear Cache" %}">
</form>

<form method="post" class="mt-5">
    {% csrf_token %}
    <input type="submit" name="clear_site_cache" value="{% trans "Clear Entire Site Cache" %}">
</form>
{% endblock %}
