2012-08-14 07:49:57 +00:00
|
|
|
{% extends "site_base.html" %}
|
|
|
|
|
2014-01-15 13:55:58 +00:00
|
|
|
{% load url from future %}
|
|
|
|
|
|
|
|
|
2012-08-14 07:49:57 +00:00
|
|
|
{% load sitetree %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block body_class %}cms-page{% endblock %}
|
|
|
|
|
|
|
|
{% block head_title %}{{ page.title }}{% endblock %}
|
|
|
|
|
|
|
|
{% block breadcrumbs %}{% sitetree_breadcrumbs from "main" %}{% endblock %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
{% if editable %}
|
|
|
|
<div class="pull-right">
|
2014-01-15 13:55:58 +00:00
|
|
|
<a href="{% url 'cms_page_edit' page.path %}" class="btn"><i class="icon-pencil icon-large"></i> Edit this page</a>
|
2012-08-14 07:49:57 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<h2>{{ page.title }}</h2>
|
|
|
|
|
|
|
|
<div class="page-content">
|
|
|
|
{{ page.body }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|