diff --git a/app/controllers/admin/page_parts_controller.rb b/app/controllers/admin/page_parts_controller.rb
index 2ca71341..b00fe33b 100644
--- a/app/controllers/admin/page_parts_controller.rb
+++ b/app/controllers/admin/page_parts_controller.rb
@@ -8,6 +8,7 @@ class Admin::PagePartsController < OrbitBackendController
@id = params[:id]
@part = PagePart.find(params[:id])
@module_apps = ModuleApp.for_widget_select
+ Rails.logger.info"@@@@@@@@@@@@@@@@"+@module_apps.inspect
@module_app = @part.module_app || @module_apps.first
@module_app_categories = @module_app.categories
@module_app_tags = @module_app.tags
diff --git a/app/views/admin/page_parts/edit.html.erb b/app/views/admin/page_parts/edit.html.erb
index cafd4ba0..4620d5de 100644
--- a/app/views/admin/page_parts/edit.html.erb
+++ b/app/views/admin/page_parts/edit.html.erb
@@ -3,8 +3,7 @@
<% content_for :page_specific_javascript do %>
<%= javascript_include_tag "lib/items/page_part" %>
<% end %>
-
-<%= form_for @part, url: admin_page_part_path(@part), html: { class: "form-horizontal main-forms"} do |f| %>
+<%= form_for @part, url: {action: "update"}, :remote=>true, html: { class: "form-horizontal main-forms"} do |f| %>
<%= f.error_messages %>
@@ -120,7 +119,7 @@
<% end %>
<%= content_tag_for(:label, @module_app_tags, class: "checkbox inline") do |tag|%>
- <%= check_box_tag("page_part[tag][]", tag.id, (@part.tag.include?(tag.id) rescue false) ) %>
+ <%= check_box_tag("page_part[tag][]", tag.id, (@part.tag.include?(tag.id.to_s) rescue false) ) %>
<%= tag.name %>
<% end if @module_app_tags %>
@@ -160,4 +159,4 @@
$("#public_r_tag").on("change", "#tag_list select", function() {
$.getScript($(this).attr('rel') + '?type=' + $(this).val() + "&id=" + "<%= @part.id %>" );
});
-
+
\ No newline at end of file