29 lines
637 B
Django/Jinja
29 lines
637 B
Django/Jinja
{% extends 'base.html.j2' %}
|
|
|
|
|
|
{% block body %}
|
|
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
{% for message in get_flashed_messages() %}
|
|
<div class="alert alert-warning">
|
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
<div class="row">
|
|
<main class="col-md-9 ml-sm-auto col-lg-10 px-4" role="main">
|
|
<h1>{% block title %}{% endblock %}</h1>
|
|
<div class="card">
|
|
<div class="card-body mt-5 mb-5">
|
|
<div class="tab-content">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|