{% extends 'switchinfo/base.html' %} {% block content %} {% for switch, interfaces in switches %} {% if interfaces %}