dev_course
SylorHuang 5 years ago
parent b6ccd6562c
commit 1730552269

@ -1302,7 +1302,7 @@ class PollsController < ApplicationController
sub_commit = [] sub_commit = []
user_commit = [] user_commit = []
poll_users_info = %w(序号) poll_users_info = %w(序号)
poll_ques_titles = poll_questions.pluck(:question_title).map {|k| k.strip if k.present?} poll_ques_titles = poll_questions.pluck(:question_title).map {|k| ActionController::Base.helpers.strip_tags(k) if k.present?}
poll_un_anony = poll.un_anonymous poll_un_anony = poll.un_anonymous
if poll_un_anony #是否匿名默认为false if poll_un_anony #是否匿名默认为false
user_info = %w(登陆名 真实姓名 邮箱 学号) user_info = %w(登陆名 真实姓名 邮箱 学号)

Loading…
Cancel
Save