2015-03-06 14:56:27 +08:00
|
|
|
$("#polls_head_show").html("<%= escape_javascript(render :partial => 'show_head', :locals => {:poll => @poll}) %>");
|
|
|
|
$("#polls_head_edit").html("<%= escape_javascript(render :partial => 'edit_head', :locals => {:poll => @poll}) %>");
|
2015-01-15 14:09:27 +08:00
|
|
|
$("#polls_head_edit").hide();
|
|
|
|
$("#polls_head_show").show();
|