Form parts

It also possible to use form parts separately, without the form wrapper. In this case, you need to include CSRF token manually if the form method is POST.

{%- call ui.util.call(show_example) -%} {%- raw %} {{ ui.form_start(method="POST") }} {{ h.csrf_input() }} {%- call ui.util.call(ui.form_actions) -%} {{ ui.button("Submit", type="submit") }} {%- endcall %} {{ ui.form_end() }} {%- endraw %} {%- endcall %}