X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/cc4532dee83d19baf79b35fadf7064b9b5c3948a..1660465f3e072cbddc19b19f7f8869affb0694c5:/app/views/elections/list.rhtml diff --git a/app/views/elections/list.rhtml b/app/views/elections/list.rhtml new file mode 100644 index 0000000..40e24b5 --- /dev/null +++ b/app/views/elections/list.rhtml @@ -0,0 +1,27 @@ +
<%= column.human_name %> | + <% end %> +|||
---|---|---|---|
<%=h election.send(column.name) %> | + <% end %> +<%= 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?' %> | +