svthalia/concrexit

View on GitHub
website/thaliawebsite/templates/simple_page.html

Summary

Maintainability
Test Coverage
{% extends 'base.html' %}
{% load django_bootstrap5 %}

{% block body %}
    <section class="page-section {% block extra_section_classes %}{% endblock %}" {% block section_tags %}{% endblock %}>
        <div class="container">
            <h1 class="section-title">{% block page_title %}{% endblock %}</h1>
            <div class="col-12">
                {% bootstrap_messages %}
                {% if form.errors %}
                    {% bootstrap_form_errors form %}
                {% endif %}
            </div>
            <div class="col-12">
                {% block page_content %}{% endblock %}
            </div>
        </div>
    </section>
{% endblock %}