Skip to content

Commit

Permalink
Typo in a CWS template
Browse files Browse the repository at this point in the history
  • Loading branch information
lw committed Jun 23, 2014
1 parent 58f35cf commit 495c388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/server/templates/contest/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
{% if len(langs) > 1 %}
<p class="navbar-text pull-right">
<select id="lang" class="form-control btn btn-info" onchange="CMS.CWSUtils.switch_lang()">
<option value=""{% if cookie_lang is None %} selected{% end %}>{{ _("Automatic (%s)") % lang_names[browser_lang] }})</option>
<option value=""{% if cookie_lang is None %} selected{% end %}>{{ _("Automatic (%s)") % lang_names[browser_lang] }}</option>
{% for lang_code, lang_name in sorted(lang_names.iteritems(), key=lambda x: x[1]) %}
<option value="{{ lang_code }}"{% if cookie_lang == lang_code %} selected{% end %}>{{ lang_name }}</option>
{% end %}
Expand Down

0 comments on commit 495c388

Please sign in to comment.