{# Builds a space separated list of html attributes from a dict of key/value pairs. Generally only used internally by macros. attrs - A dict of attribute/value pairs Example {% import 'macros/form.html' as form %} {{ form.attributes({}) }} #} {%- macro attributes(attrs={}) -%} {{ ui.util.attrs({"attrs": attrs}) }} {%- endmacro -%}