{%- if (value and k == value) or (not value and default and k == default) -%} selected="selected" {%- endif -%}