socialforge/app/views/contest_members/create.js.erb

15 lines
551 B
Plaintext
Raw Normal View History

2016-12-24 16:29:10 +08:00
<%if @contest%>
<% if @create_member_error_messages%>
notice_box("<%= @create_member_error_messages%>");
//alert("<%= @create_member_error_messages%>");
2016-12-24 16:29:10 +08:00
<% else %>
$('#game-setting-content-2').html('<%= escape_javascript(render :partial => 'contests/members') %>');
$("#admin_num").html("<%= contest_managers(@contest).count %>");
$("#judge_num").html("<%= contest_judges(@contest).count %>");
$("#contestant_num").html("<%= contest_contestants(@contest).count %>");
notice_box("添加成功");
//alert("添加成功");
2016-12-24 16:29:10 +08:00
<% end%>
hideOnLoad();
<%end%>