]> projects.mako.cc - selectricity/blobdiff - app/views/elections/show.rhtml
Renamed "elections" controller to "election."
[selectricity] / app / views / elections / show.rhtml
diff --git a/app/views/elections/show.rhtml b/app/views/elections/show.rhtml
deleted file mode 100644 (file)
index 0ef2fc5..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<h1>Information On <%= @election.name %></h1>
-
-<h2>Overview <%= link_to "edit", :action => 'edit', :id => @election.id %></h2> 
-
-<p><strong>Description</strong></p>
-
-<blockquote>
-<%= @election.description %>
-</blockquote>
-
-<h2>Candidates <%= link_to "edit", :action => 'edit_candidates', :id => @election.id %></h2> 
-
-
-The following are valid options or candidates in this election:
-
-<ul>
-<% @election.candidates.each do |candidate| %>
-   <% @candidate = candidate %>
-   <%= render :partial => 'candidate_line' %>
-<% end %>
-</ul>
-
-<h2>Voters <%= link_to "edit", :action => 'edit_voters', :id => @election.id %></h2>

Benjamin Mako Hill || Want to submit a patch?