wiki-grav/plugins/form/templates/formdata.html.twig
2022-04-24 14:32:58 +02:00

21 lines
488 B
Twig

{% extends 'partials/base.html.twig' %}
{% if form is null %}
{% set form = grav.session.getFlashObject('form') %}
{% endif %}
{% block content %}
{{ content|raw }}
{% if form %}
{% include 'partials/form-messages.html.twig' %}
<p>{{ 'PLUGIN_FORM.DATA_SUMMARY'|t }}</p>
{% include "forms/data.html.twig" %}
{% else %}
<div class="notices warning yellow"><p>{{ 'PLUGIN_FORM.NO_FORM_DATA'|t }}</p></div>
{% endif %}
{% endblock %}