{% extends 'base.html' %} {% load bootstrap %} {% block content %}

Pick Santa rule team ID

{{ form.query|bootstrap_inline }}
{% if team_ids %} {% for team_id, rule in team_ids %} {% endfor %}
Team ID Organization
{{ team_id.organizational_unit|default:"-" }} {{ team_id.organization|default:"-" }} {% if rule %} {% if not rule.ruleset %} Update rule {% else %} Ruleset rule exists {% endif %} {% else %} Create rule {% endif %}
{% endif %} {% endblock %}