<!doctype html>
<html>
<head>
    <title>{% block title %}Отладка увольнятора{% endblock title %}</title>
    <link rel="stylesheet" href="{{ MEDIA_URL }}i/css/bootstrap.css">
</head>
<body>
    {% block navbar %}
        <div class="navbar">
            <div class="navbar-inner">
                <div class="container">
                    <ul class="nav">
                        <a class="brand" href="{% url 'dismissal-debug-index' %}">Отладка увольнятора</a>
                        <li{% if request.path ==  '/dismissal/debug/chit/'%} class="active"{% endif %}><a href="{% url 'dismissal-debug-chit' %}">Шаблоны</a></li>
                        <li{% if request.path ==  '/dismissal/debug/checkpoints/'%} class="active"{% endif %}><a href="{% url 'dismissal-debug-checkpoints' %}">Пункты</a></li>
                        <li{% if request.path ==  '/dismissal/debug/dismissals/'%} class="active"{% endif %}><a href="{% url 'dismissal-debug-dismissals' %}">Заявки</a></li>
                        <li{% if request.path ==  '/dismissal/debug/creating/'%} class="active"{% endif %}><a href="{% url 'dismissal-debug-creating' %}">Права</a></li>
                    </ul>
                </div>
            </div>
        </div>
    {% endblock navbar %}

    {% block content %}
        <div class="container">
            <h1>{% block header %}{% endblock header %}</h1>

            {% if form %}
                {% block form %}
                    <form>
                        {{ form.as_p }}
                        <input type="submit"/>
                    </form>
                {% endblock form %}
            {% endif %}

            {% block results %}{% endblock results %}
        </div>

    {% endblock content %}

</body>
</html>
