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/exercise/create.js.erb

5 lines
353 B

$("#exercise_head_show").html("<%= escape_javascript(render :partial => 'show_head') %>");
$("#exercise_head_edit").html("<%= escape_javascript(render :partial => 'edit_head') %>");
$("#exercise_head_edit").hide();
$("#exercise_head_show").show();
$("#new_exercise_question").html("<%= escape_javascript(render :partial => 'exercise/new_question') %>");