{% extends 'base.html' %} {% block content %} {% for patent in patents %} {{patent.author}} {{patent.abstract}} {% endfor %}
Note: The data-parent attribute makes sure that all collapsible elements under the specified parent will be closed when one of the collapsible item is shown.