X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/1660465f3e072cbddc19b19f7f8869affb0694c5..dc7d60a0de460c72d292b43616eb97a8b34741c8:/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' %>