{% extends widget.get_base_template %} {% load i18n %} {% block content %} {% if form %}
{% csrf_token %} {% include 'horizon/common/_form_fields.html' with form=form %}
{% else %} {{ message|safe }} {% endif %} {% endblock %}