- @quickvote.candidatelist = flash[:candlist]
- @quickvote.description=CGI.escapeHTML(@quickvote.description)
+ @quickvote.candidate_names = flash[:candidate_names]
+ @quickvote.description=@quickvote.description
+ #record who created the quickvote so that person can monitor it easily
+ @quickvote.quickuser = session.session_id
+ #Give registered users additional QuickVote functionality
+ @quickvote.user_id = session[:user][:id] if session[:user]