% 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 %>