From 03f44469dfee56068becef30e15236689cb858e3 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 1 Dec 2014 19:12:18 +0800 Subject: [PATCH] some update for list of pages --- app/views/admin/page_contents/_index.html.erb | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/app/views/admin/page_contents/_index.html.erb b/app/views/admin/page_contents/_index.html.erb index 145b439..6ba03c8 100644 --- a/app/views/admin/page_contents/_index.html.erb +++ b/app/views/admin/page_contents/_index.html.erb @@ -24,8 +24,8 @@ <%= format_value page.page_contexts.last.updated_at rescue nil %> <%= User.find(page.page_contexts.last.update_user_id).user_name rescue nil %> - <%= select_tag("category_id",options_for_select(@categories, (page.category_id.to_s rescue "")), prompt: "Select a category", class: "category_select", style: "margin-bottom:0;") %> - + <%= select_tag("category_id",options_for_select(@categories, (page.category_id.to_s rescue "")), prompt: "Select a category", class: "category_select", style: "margin-bottom:0; width:150px;") %> + <% end %> @@ -41,21 +41,23 @@