X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/f5d7ead8bbeec349c55e55a9c5927a7667ee207f..efee1116c83bf5d42320b7c389560eff75a78b39:/app/controllers/election_controller.rb 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