{%- with name = "select.{}".format(filter.attribute_name), selected_name = filter.request_args.get(name, filter.default) -%} {%- endwith -%}