{% extends "base.html" %} {% load navigation_tags %} {% load authorization_tags %} {% block content %} {{ block.super }}
WARNING: The Rules Framework is an unsupported beta feature, only for power users. It is possible to ruin your data if you're not careful.

Rules Framework

{% include "dojo/filter_snippet.html" with form=rules.form %}
{% if rules %}
{% include "dojo/paging_snippet.html" with page=rules page_size=True %}
{% for rule in rules %} {% endfor %}
{% dojo_sort request 'Rule' 'text' 'asc' %} Operation Match Applies
{{ rule.text }} {{ rule.operator }} {{ rule.model_object }}:{{rule.match_field}} {{ rule.applies_to }}:{{rule.applied_field}}
{% if "dojo.change_rule"|has_configuration_permission:"superuser" %} Edit {% endif %} {% if "dojo.delete_rule"|has_configuration_permission:"superuser" %} Delete {% endif %}
{% include "dojo/paging_snippet.html" with page=rules page_size=True %}
{% else %}

No rules found.

{% endif %}
{% include "dojo/filter_js_snippet.html" %} {% endblock %}