formdata.html.twig 488 B

1234567891011121314151617181920
  1. {% extends 'partials/base.html.twig' %}
  2. {% if form is null %}
  3. {% set form = grav.session.getFlashObject('form') %}
  4. {% endif %}
  5. {% block content %}
  6. {{ content|raw }}
  7. {% if form %}
  8. {% include 'partials/form-messages.html.twig' %}
  9. <p>{{ 'PLUGIN_FORM.DATA_SUMMARY'|t }}</p>
  10. {% include "forms/data.html.twig" %}
  11. {% else %}
  12. <div class="notices warning yellow"><p>{{ 'PLUGIN_FORM.NO_FORM_DATA'|t }}</p></div>
  13. {% endif %}
  14. {% endblock %}