{% from "bootstrap5/form.html" import render_form %} {% block content %} {% include "header.html" %}
{% if is_edit: %}

Edit Post

{% else: %}

New Post

{% endif %} You're going to make a great blog post!
{{ ckeditor.load() }} {{ ckeditor.config(name='body') }} {{ render_form(form, novalidate=True, button_map={"submit": "primary"}) }}
{% include "footer.html" %} {% endblock %}