Updated preference UI

This commit is contained in:
saurabhbhatia committed 2013-09-09 11:02:58 +08:00
1 parent 7216676c40
commit 0eeb7db1a8
1 file changed
+3 -3
+3 -3
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">