{% extends 'core/base.html' %} {% load static %} {% block title %}Rule Detail{% endblock %} {% block content %}
Item: {{ rule.item.name }}
Locations: {% for location in rule.locations.all %}{{ location.name }}{% if not forloop.last %}, {% endif %}{% endfor %}
Edit