diff --git a/views/admin/edit_election.haml b/views/admin/edit_election.haml index 6c4d209..c7ddb2c 100644 --- a/views/admin/edit_election.haml +++ b/views/admin/edit_election.haml @@ -18,7 +18,7 @@ %label.control-label{:for=>"#election_type"} Type: .controls %select.form-control#election_type{:name=>"type"} - - [PresentationElection, LocationElection, KeynoteElection, TShirtElection].each do |t| + - [PresentationElection, PanelElection, LocationElection, KeynoteElection, TShirtElection].each do |t| - if @election.is_a? t %option{selected: true, value: t}= t.model_name.human - else