X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/f5d7ead8bbeec349c55e55a9c5927a7667ee207f..92261fac718494dca6f92bbf193e75821fa336ec:/app/controllers/election_controller.rb?ds=inline diff --git a/app/controllers/election_controller.rb b/app/controllers/election_controller.rb index be2fb3d..5c13a81 100644 --- a/app/controllers/election_controller.rb +++ b/app/controllers/election_controller.rb @@ -45,6 +45,7 @@ class ElectionController < ApplicationController @election.user = session[:user] @election.anonymous = 1 @election.startdate = Time.now + @election.type = 'Election' holder = create_theme_hash unless holder.values.all? {|v| v.has_value?("")} @@ -233,6 +234,7 @@ class ElectionController < ApplicationController if params.has_key?( :raw_voter_list ) process_incoming_voters( params[:raw_voter_list] ) end + @edit = true @raw_voter_list = RawVoterList.new end