From 79b260d1caad8ef8559a9d8a9c46068acafdf9fb Mon Sep 17 00:00:00 2001 From: Date: Mon, 25 Aug 2008 19:36:54 -0400 Subject: [PATCH] An @edit=true declaration was missing from edit_voters that prevented the voter delete button from appearing. I palced the declaration back in the controller method rather than in the view file, which is different from the new_voters.rhtml file. --- app/controllers/election_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/election_controller.rb b/app/controllers/election_controller.rb index be2fb3d..3e16964 100644 --- a/app/controllers/election_controller.rb +++ b/app/controllers/election_controller.rb @@ -233,6 +233,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 -- 2.30.2