{% extends 'core/base.html' %} {% load static %} {% block title %}Rule Detail{% endblock %} {% block content %}

Rule Detail

Item: {{ rule.item.name }}

Locations: {% for location in rule.locations.all %}{{ location.name }}{% if not forloop.last %}, {% endif %}{% endfor %}

Edit
{% csrf_token %}
{% endblock %}