Search box

When search form requires only a single input field, the search_form_box component can be used to create a compact search form with a single input field and a submit button.

Depending on implementation of search form, it may be impossible to achieve exactly the same appearance of the form as in search_form component. For example, in search_form, input and submit button may share the same wrapepr and render inline. At the same time, inside search_form_box they are likely to be rendered inside separate conainers. As result, they will be shown on different lines.

{%- call ui.util.call(show_example) -%} {%- raw %} {%- call ui.util.call(ui.search_form_box) -%} {{ ui.search_input() }} {{ ui.divider() }} {{ ui.search_submit_button() }} {%- endcall %} {%- endraw %} {%- endcall %}