mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
20 lines
488 B
Twig
20 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 %}
|