The Framework Code

twigs/framework/devel/tests/modalbody.twig

File List

{% import '@util/modalmacro.twig' as m %}

    {{m.open({id: 'modald', title: 'Modal Pop-up'})}}
    <div class="modal-body">
        <h2>This is a modal</h2>
    </div>
    {{m.close({action: 'None', id: 'nopu'})}}