{% extends base_template %}
{% load helpers %}
{% load form_helpers %}

{% block title %}{{ block.super }} - Dynamic Groups{% endblock %}

{% block content %}
    <div class="alert alert-warning">
        Dynamic group membership is cached for performance reasons, therefore this page may not always be up-to-date.
        <br>You can refresh the membership of any specific group by accessing it from the list below or from the
        <a href="{% url 'extras:dynamicgroup_list' %}">Dynamic Groups list view</a> and clicking the "Refresh Members" button.
        <br>You can also refresh the membership of all groups by running the
        <a href="{% url 'extras:job_run_by_class_path' class_path='nautobot.core.jobs.groups.RefreshDynamicGroupCaches' %}">Refresh Dynamic Group Caches job</a>.
    </div>
    {% include 'responsive_table.html' %}
    {% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
{% endblock %}
