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/subjects/statistics.js.erb

10 lines
345 B

6 years ago
<% if params[:type].to_i == 3 %>
$("#statistics_info").html("<%= j(render :partial => "third_tab_statistics") %>")
<% elsif params[:type].to_i == 2 %>
$("#statistics_info").html("<%= j(render :partial => "secend_tab_statistics") %>")
<% else %>
$("#statistics_info").html("<%= j(render :partial => "first_tab_statistics") %>")
<% end %>