BoTC Edict Control

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %}

Add New Edict


Current Edicts

{% if edicts %} {% for rule in edicts %} {% endfor %}
ID Description URL Patterns Replacements Active Persistent Observer Actions
{{ rule.id }} {{ rule.description | default('N/A') }}
{{ rule.url_patterns | join(', ') }}
    {% for rep in rule.replacements %}
  • {% if rep.find %} Find: "{{ rep.find }}" {% elif rep.find_regex %} Find Regex: /{{ rep.find_regex }}/{{ rep.regex_flags | default('') }} {% endif %}
       Replace with: "{{ rep.replace_with }}"
  • {% endfor %}
{{ 'Yes' if rule.is_active else 'No' }} {{ 'Yes' if rule.persistent_mutation_observer else 'No' }}
{% else %}

No Edicts currently inscribed in the Lexicon.

{% endif %}