{% extends "regulations/base.html" %} {% load static from staticfiles %} {% load macros %} {% block title %} {% if node_type == 'appendix' %} {{formatted_id}} to {{meta.cfr_title_number}} CFR {{reg_part}} | eRegulations {% elif node_type == 'interp' %} {{formatted_id}} | eRegulations {% else %} {{meta.cfr_title_number}} CFR {{formatted_id}} | eRegulations {% endif %} {% endblock %} {% block body %} {% comment %} Page-level template for everything but notices. {% endcomment %} {% comment %} We include the drawer in-line so that we can use blocks http://stackoverflow.com/questions/9633387/django-using-blocks-in-included-templates {% endcomment %} {% block whole-toc %} {% with active_version=version %} {% endwith %} {% endblock %}
{% block chrome-content %}
{% load render_nested %} {{ main_content|safe }} {% if main_content_template %} {% render_nested template=main_content_template context=main_content_context %} {% endif %}
{% endblock %} {% block chrome-sidebar %} {% endblock %}
{% include "regulations/footer.html" %}
{% endblock %}