% macro lang_options(langs, selected) % if selected not in langs % endif % for code, name in langs.items() % endfor % endmacro