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/challenges/edit.js.erb

7 lines
360 B

6 years ago
<% if @tab == 1 %>
$("#task_pass_page").html("<%= j(render :partial => "challenges/new_or_edit_task_page") %>");
<% elsif @tab == 2 %>
$("#task_pass_page").html("<%= j(render :partial => "challenges/edit_evaluating_page") %>");
<% elsif @tab == 3 %>
$("#task_pass_page").html("<%= j(render :partial => "challenges/edit_answer_page") %>");
<% end %>