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 @@