X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/1660465f3e072cbddc19b19f7f8869affb0694c5..5a8b533b5abec8dc24674e4ef084b0b9779da8af:/app/views/elections/show.rhtml
diff --git a/app/views/elections/show.rhtml b/app/views/elections/show.rhtml
index 0ef2fc5..954e480 100644
--- a/app/views/elections/show.rhtml
+++ b/app/views/elections/show.rhtml
@@ -1,3 +1,4 @@
+<% %>
Information On <%= @election.name %>
Overview <%= link_to "edit", :action => 'edit', :id => @election.id %>
@@ -10,14 +11,8 @@
Candidates <%= link_to "edit", :action => 'edit_candidates', :id => @election.id %>
-
-The following are valid options or candidates in this election:
-
-
-<% @election.candidates.each do |candidate| %>
- <% @candidate = candidate %>
- <%= render :partial => 'candidate_line' %>
-<% end %>
-
+<%= render :partial => 'candidate_list' %>
Voters <%= link_to "edit", :action => 'edit_voters', :id => @election.id %>
+
+<%= render :partial => 'voter_list' %>