trilbymedia / grav-theme-bootstrap4

MIT License
14 stars 5 forks source link

form confirmation template does not add the content div around the confirmation text #7

Open aoloe opened 6 years ago

aoloe commented 6 years ago

while replacing the content part of the base partial, formdata.html.twig does not add the main-content and container divs... and the result is skrewed up...

aoloe commented 6 years ago

... it does also not use the translation(s) from the form plugin...

aoloe commented 6 years ago

this is my current templates/formdata.html.twig:

{% extends 'partials/base.html.twig' %}

{% block content %}
    <div class="main-content">
        <div class="container">

        {{ content|raw }}

        <div class="alert">{{ form.message|raw }}</div>

        {{ 'PLUGIN_FORM.DATA_SUMMARY'|t }}

        {% include "forms/data.html.twig" %}

        </div>
    </div>
{% endblock %}