{% extends "base.html" %} {% block content %} {% if can_edit %} {% include "components/formset.html" with triple=True %} {% else %} {% include "components/formset.html" with double=True %} {% endif %} {% endblock content %}