{% load cache %}
{% load pages %}
{% load hierarchical %}

<h1>{% block title %}A django minimal CMS based on pages{% endblock %}</h1>

<h2>Navigation (as nested list)</h2>

<ul>
    {% for page in pages %}
        {% show_menu page %}
    {% endfor %}
</ul>

<h2>Content</h2>

{% if current_page %}
<h3>title : {% placeholder title current_page TextInput %}</h3>
<p>body : {% placeholder body current_page Textarea %}</p>

<p>boum : {% placeholder boum current_page Textarea %}</p>

{% endif %}

<h2>All associated objetcs</h2>
<ul>
{% for obj in all_objects %}
    <li>{{ obj }}</li>
{% endfor %}
</ul>
{% load cache %}
{% load pages %}
{% load hierarchical %}

<h1>{% block title %}A django minimal CMS based on pages{% endblock %}</h1>

<h2>Navigation (as nested list)</h2>

<ul>
    {% for page in pages %}
        {% show_menu page %}
    {% endfor %}
</ul>

<h2>Content</h2>

<p style="float:right;width:200px">Exemple right column placeholder : {% placeholder right-column current_page Textarea %}</p>

{% if current_page %}
<h3>title : {% placeholder title current_page TextInput %}</h3>
<p>body : {% placeholder body current_page Textarea %}</p>

{% endif %}

<h2>All associated objetcs</h2>
<ul>
{% for obj in all_objects %}
    <li>{{ obj }}</li>
{% endfor %}
</ul>
Add a placeholder for comprehension
Add a placeholder for comprehension

git-svn-id: 54fea250f97f2a4e12c6f7a610b8f07cb4c107b4@43 439a9e5f-3f3e-0410-bc46-71226ad0111b
