[% USE P %]
Material Modal Tests
Button triggered modal, no close/agree button:
[% P.M.button_tag("", "Modal", class="modal-trigger", href="#modal1") %]
Modal Header
A bunch of text
Button triggered modal, close/agree button:
[% P.M.button_tag("", "Modal", class="modal-trigger", href="#modal2") %]
Modal Header
A bunch of text
Javascript triggered modal:
[% P.M.button_tag("\$('#modal1').modal('open')", "Open!") %]
popup_dialog modal with given html:
[% P.M.button_tag("kivi.popup_dialog({ html: 'Testtext'})", "Testtext") %]