X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/dc7d60a0de460c72d292b43616eb97a8b34741c8..c933ff40da110253bc4c474d9c79c3a4ed98721d:/app/views/election/list.rhtml diff --git a/app/views/election/list.rhtml b/app/views/election/list.rhtml new file mode 100644 index 0000000..83be6c6 --- /dev/null +++ b/app/views/election/list.rhtml @@ -0,0 +1,35 @@ +<% %> +
<%= link_to election.name, :action => 'show', :id => election %>+Description: +<%= election.description %>+ + Election Information: +
|
+
+ Candidates: + <% @election = election %><%= render :partial => 'candidate_list', :id => election.id %> + |
+ + <%= link_to 'Destroy', { :action => 'destroy', :id => election }, :confirm => 'Are you sure?' %> | +