$('#all_attributes').html('<%= escape_javascript(render :partial => 'form') %>');