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