update page template

This commit is contained in:
Luke Hatcher 2012-07-19 03:08:52 -04:00
parent 6e63485d84
commit 1506a3e148

View file

@ -7,16 +7,17 @@
{% block head_title %}{{ page.title }}{% endblock %}
{% block page_title %}
{{ page.title }}
{% if editable %}
<div class="pull-right">
<a href="{% url cms_page_edit page.path %}" class="btn"><i class="icon-pencil icon-large"></i></a>
</div>
{% endif %}
{% endblock %}
{% block breadcrumbs %}{% sitetree_breadcrumbs from "main" %}{% endblock %}
{% block body %}
{{ page.body }}
{% endblock %}
{% if editable %}
<div class="pull-right">
<a href="{% url cms_page_edit page.path %}" class="btn"><i class="icon-pencil icon-large"></i> Edit this page</a>
</div>
{% endif %}
<h2>{{ page.title }}</h2>
<div class="page-content">
{{ page.body }}
</div>
{% endblock %}