{% extends "base.html" %} {% load automate_tags %} {% block content %} {% block info %}

Tag view

Shows objects grouped by tags

{% endblock %}
{% for group in groups %}
{% for groupname, objs in group %}
{{ groupname }}

{% for obj in objs %} {% if obj.object_type == 'sensor' %} {% include 'rows/sensor_row.html' with sensor=obj %} {% elif obj.object_type == 'actuator' %} {% include 'rows/actuator_row.html' with actuator=obj %} {% elif obj.object_type == 'program' %} {% include 'rows/program_row.html' with program=obj %} {% else %} {% include 'rows/general_row.html' with object=obj %} {% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}