% if @remain_user_ids %> <% str = "" %> <% @remain_user_ids.each do |user_id| %> <% user = User.find user_id %> <% if str == "" %> <% str += user.show_name.to_s + "(" + user.login.to_s + ")" %> <% else %> <% str += "、" + user.show_name.to_s + "(" + user.login.to_s + ")" %> <% end %> <% end %> var htmlvalue = '