{% extends "edit.html" %} {% block modules_sidebar %} {% with revision.modules.all as modules %}

Modules{% if modules %} ({{ modules|length }}){% endif %}

{% include "_sidebar_revision_add_module.html" %}
{% endwith %} {% endblock %} {% block app_content %}
{% for module in revision.modules.all %} {% include "_module_code_textarea.html" %} {% endfor %}
{% endblock %}