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