From 17f31d1e25b34f9078068ce1a648ae2a773bc510 Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Mon, 4 Nov 2013 09:40:37 +0800 Subject: [PATCH] Fix for Site preference --- app/views/admin/sites/preference.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/sites/preference.html.erb b/app/views/admin/sites/preference.html.erb index cbcc290d1..5ad98a4b7 100644 --- a/app/views/admin/sites/preference.html.erb +++ b/app/views/admin/sites/preference.html.erb @@ -164,7 +164,7 @@
<% @site_in_use_locales.each do |locale| %> - <%= radio_button_tag "site[default_locale]", locale, @locale == locale , @site.in_use_locales.include?(locale),:class=>"toggle-check in_use_locales", :data => { :title => "#{I18nVariable.from_locale(locale)}", disabled: true } %> + <%= radio_button_tag "site[default_locale]", locale, @locale == locale,:class=>"toggle-check in_use_locales", :data => { :title => "#{I18nVariable.from_locale(locale)}", disabled: true } %> <% end %>