<div class="grid grid-form">
    <div class="container">
        <div class="inner">

            <div class="top">
                {% if grid.title.value %}
                    <h3>{{ grid.title }}</h3>
                {% endif %}

                {% if grid.description.value %}
                    <p>{{ grid.description|nl2br|raw }}</p>
                {% endif %}
            </div>

            {% set form = form('forms::' ~ grid.form.form_slug).get() %}

            {{ form.open|raw }}

            {{ form.renderFields()|raw }}

            <button class="btn btn-danger" type="submit" name="Submit">{{ grid.button_text }}</button>

            {{ form.close|raw }}

        </div>
    </div>
</div>
