Updated preference UI

This commit is contained in:
saurabhbhatia 2013-09-09 10:54:18 +08:00
parent 7216676c40
commit 0eeb7db1a8
1 changed files with 3 additions and 3 deletions

View File

@ -148,9 +148,9 @@
<label class="control-label muted">Default Language</label>
<div class="controls">
<% @site_in_use_locales.each do |locale| %>
<%= check_box_tag :default_locale, locale, :class=>"toggle-check" %>
<%= I18nVariable.from_locale(locale) %>
<% end %>
<%= check_box_tag :default_locale, locale, (@site.enabled_for.nil?), :class=>"toggle-check" %>
<%= I18nVariable.from_locale(locale) %>
<% end %>
</div>
</div>
<div class="control-group">