{% extends "tendenci_guide/base.html" %}
{% load base_filters %}

{% block extra_head %}
{{ block.super }}
<link rel="stylesheet" href="{{ STATIC_URL }}css/tendenci_guide.css">
{% endblock extra_head %}

{% block body %}
<div class="guide-nav">
<h3>{{ guide.section }}</h3>
<ul>
    {% for g in section_guides %}
    <li><a {% ifequal guide.slug g.slug %}class="active" {% endifequal %}href="{% url tendenci_guide.guide_page g.slug %}">{{ g.title }}</a></li>
    {% endfor %}
</ul>
</div>
<div class="guide-content">
<h1>{{ guide.title|title }}</h1>
<div>{{ guide.content|safe }}</div>
{% if next %}<h3>Next: <a href="{% url tendenci_guide.guide_page next.slug %}">{{ next.title }}</a></h3>{% endif %}
</div>
{% endblock body %}