$("#<%= dom_id @news_bulletin_category %>").replaceWith("<%= j render :partial => 'news_bulletin_category', :collection => [@news_bulletin_category] %>");
<% @news_bulletin_category = NewsBulletinCategory.new(:display => 'List') # reset for new form %>
$(".edit_news_bulletin_category").replaceWith("<%= j render "form" %>")
$(".new_news_bulletin_category")[0].reset();