{% extends 'application.html' %} {% block contents %} {{ title }} {% for item in collection %} {% include 'partials/tags_item.html' %} {% endfor %} {% endblock contents %}