You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/app/views/poll/create.js.erb

5 lines
333 B

$("#poll_head_show").html("<%= escape_javascript(render :partial => 'show_head') %>");
$("#poll_head_edit").html("<%= escape_javascript(render :partial => 'edit_head') %>");
$("#poll_head_edit").hide();
$("#poll_head_show").show();
$("#new_poll_question_btn").html("<%= escape_javascript(render :partial => 'poll/new_question') %>");