{% extends "reportcraft/editor.html" %} {% load reportcraft %} {% load static %} {% block extra_css %} {{ block.super }} {% endblock %} {% block editor-pretitle %}Edit Report{% endblock %} {% block editor-title %}{% if report %}{{ report.title }}{% else %}Report Editor{% endif %}{% endblock %} {% block editor-subtitle %} {% if report %}{{ object.description }}{% else %}Please select or add a new a report from the list{% endif %} {% endblock %} {% block editor-tools %} {% if report %} {% tool_icon label='Preview' icon='live-view' %} {% tool_icon label='Edit' icon='pencil' %} {% tool_icon label='Delete' icon='trash-x' %} {% tool_icon label='Add Entry' icon='photo-plus' %} {% endif %} {% endblock %} {% block editor-content %} {% if report %}
Add entries to the report and then configure them to select the fields to display. The entry position, specifies the ordering of entries within the report. The entry style can be used to control the layout.
{% for entry in entries %}
{{ entry | entry_html }}
{% endfor %}
{% endif %} {% endblock %} {% block report-off-canvas %} {% if show_sidebar %}{% include "reportcraft/off-canvas-list.html" with items=reports %}{% endif %} {% endblock %}