X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/1660465f3e072cbddc19b19f7f8869affb0694c5..c933ff40da110253bc4c474d9c79c3a4ed98721d:/app/views/elections/list.rhtml diff --git a/app/views/elections/list.rhtml b/app/views/elections/list.rhtml deleted file mode 100644 index 40e24b5..0000000 --- a/app/views/elections/list.rhtml +++ /dev/null @@ -1,27 +0,0 @@ -

Listing elections

- - - - <% for column in Election.content_columns %> - - <% end %> - - -<% for election in @elections %> - - <% for column in Election.content_columns %> - - <% end %> - - - - -<% end %> -
<%= column.human_name %>
<%=h election.send(column.name) %><%= link_to 'Show', :action => 'show', :id => election %><%= link_to 'Edit', :action => 'edit', :id => election %><%= link_to 'Destroy', { :action => 'destroy', :id => election }, :confirm => 'Are you sure?' %>
- -<%= link_to 'Previous page', { :page => @election_pages.current.previous } if @election_pages.current.previous %> -<%= link_to 'Next page', { :page => @election_pages.current.next } if @election_pages.current.next %> - -
- -<%= link_to 'New election', :action => 'new' %>