2014-04-03 22:38:18 +08:00
|
|
|
|
$("#<%=object_id%>").replaceWith('<%= escape_javascript join_in_competition(@contest, user) %>');
|
|
|
|
|
<% if @state %>
|
2014-09-17 14:58:13 +08:00
|
|
|
|
// modified by longjun 去掉中文,引用zh.yml中的标签
|
2014-04-03 22:38:18 +08:00
|
|
|
|
<% if @state == 0 %>
|
2014-09-17 14:58:13 +08:00
|
|
|
|
alert(<%= l(:notice_successful_join) %>)
|
2014-04-03 22:38:18 +08:00
|
|
|
|
<% else %>
|
2014-09-17 14:58:13 +08:00
|
|
|
|
alert(<%= l(:notice_account_wrong_password) %>)
|
2014-04-03 22:38:18 +08:00
|
|
|
|
<% end %>
|
|
|
|
|
<% end %>
|