{% extends base %} {% from 'macro.html' import breadcrumbs with context %} {% from 'macro.html' import form_fields with context %} {% block content %}
{{- breadcrumbs([ [url_for('admin_index.index'), _('Administration')], [url_for('admin_htmlblocks.index'), _('HTML Blocks')] ]) }}

{{ page_title }}

{% if saved %}
{{ _('Saved!') }}
{% endif %}
{{ form_fields(form) }}
{% if not edit or can_edit %} {% if edit %}{{ _('Delete') }}{% endif %} {% else %} {{ _("You don't have access to edit this Jinja2 template.") }} {% endif %}
{{- breadcrumbs([ [url_for('admin_index.index'), _('Administration')], [url_for('admin_htmlblocks.index'), _('HTML Blocks')] ]) }}
{% endblock %}