divio/django-cms

View on GitHub
cms/test_utils/project/templates/static.html

Summary

Maintainability
Test Coverage
{% extends "base.html" %}
{% load i18n cms_tags %}

{% block tpl_id %}tpl_col_two{% endblock %}

{% block content %}
    <h1>{% render_model request.current_page "page_title" %}</h1>

    {% static_placeholder "logo" or %}Here comes a logo{% endstatic_placeholder %}

    <div id="col1" class="grid_3">
        {% include "sidebar_submenu.html" %}
        {% block col_sidebar %}
            {% with "220" as width %}
                {% placeholder col_sidebar %}
            {% endwith %}
        {% endblock %}
    </div>

    <div id="col2" class="grid_9">
        {% block col_left %}
            {% with "640" as width %}
                {% placeholder col_left %}
            {% endwith %}
        {% endblock %}
    </div>
    <div id="col3" class="grid_12">
        {% static_placeholder "footer" %}
     </div>
{% endblock %}