laterite-admin 0.9.12

Laterite CMF admin surface: the Axum router, session middleware, and login shell
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% extends "base.html" %}
{% block title %}{{ title }} - {{ shell.brand }}{% endblock %}
{% block content %}
<nav class="lat-breadcrumb"><a href="{{ cancel_path }}">&larr; {{ shell.t("Back") }}</a></nav>
<div class="lat-toolbar"><h1>{{ title }}</h1></div>
<div class="lat-card lat-card--form">
  {% include "_form_fields.html" %}
</div>
{% if !pending.is_empty() %}
<p class="lat-note">{{ shell.t("Save first, then add") }} {% for p in pending %}{% if !loop.first %}, {% endif %}{{ p }}{% endfor %}.</p>
{% endif %}
{% for s in sections %}
{{ s.toolbar|safe }}
<div class="lat-card">
  {{ s.html|safe }}
</div>
{% endfor %}
{% endblock %}