From fd560935cd1d5464d223a6f72aac53c10e86b43c Mon Sep 17 00:00:00 2001 From: saurabhbhatia Date: Tue, 10 Dec 2013 10:17:10 +0800 Subject: [PATCH] Fixed the order of the fields in responsive settings page --- .../admin/sites/responsive_setting.html.erb | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/app/views/admin/sites/responsive_setting.html.erb b/app/views/admin/sites/responsive_setting.html.erb index 7a39089a..cdd25f43 100644 --- a/app/views/admin/sites/responsive_setting.html.erb +++ b/app/views/admin/sites/responsive_setting.html.erb @@ -27,6 +27,16 @@ +
+ +
+ <% @module.categories.each do |category| %> + <%= check_box_tag "site[announcement_category][]", category.id.to_s, (@site.announcement_category.include?(category) rescue false), :class=>"toggle-check", :data => { :title => "#{category.title}", disabled: true }, "data-deploy"=>"inline", :checked => (@site.announcement_category.include?(category.id.to_s)) %> + <% end %> +
+
+ +
@@ -56,22 +66,13 @@
-
- -
- <% @module.categories.each do |category| %> - <%= check_box_tag "site[announcement_category][]", category.id.to_s, (@site.announcement_category.include?(category) rescue false), :class=>"toggle-check", :data => { :title => "#{category.title}", disabled: true }, "data-deploy"=>"inline", :checked => (@site.announcement_category.include?(category.id.to_s)) %> - <% end %> -
-
-
- /> - /> + /> + /> OR - name="site[default_bar_color]" id="default_bar_color" style="margin:0 0 3px 10px;" /> Default Color + name="site[default_bar_color]" id="default_bar_color" style="margin:0 0 3px 10px;" /> Default Color