{{ html.beforeFrame }} {% macro renderItem(*) %} {% switch type %} {% case "text" %} {{ html.beforeInput }} {{ html.afterInput }} {% if suggestions %} {% endif %} {% case "longtext" %} {{ html.beforeInput }} {{ html.afterInput }} {% case "number" %} {{ html.beforeInput }} {{ html.afterInput }} {% case "bool" %} {{ html.beforeInput }} {{ html.afterInput }} {% case "list" %} {{ html.beforeInput }} {{ html.afterInput }} {% case "file" %} {{ html.beforeInput }} {{ html.afterInput }} {% case "submit" %} {{ html.beforeInput }} {{ html.afterInput }} {% case "group" %} {# Nothing to render #} {% case * %} [ERROR: Unknown type {{ type }} in form config] {% endswitch %} {% endmacro %}