Louis | Abstracts freecyclery functionality and adds closed applications page

This commit is contained in:
Loos
2014-10-07 21:17:44 -04:00
parent 77e7109b9e
commit b717cba355
7 changed files with 43 additions and 5 deletions
@@ -0,0 +1,19 @@
.container
.row
%h1 Closed Applications
%table.table.table-striped.table-bordered.table-hover
%thead
%tr
%th Name
%th Voided
%th Completed
%th Show
%tbody
- @closed_applications.each do |client|
%tr
%td= client.name
%td= client.application_voided
%td= client.completion_date
%td= link_to 'Show', client
%br
+3 -1
View File
@@ -9,4 +9,6 @@
%br
= link_to "Freecyclery Agencies", agencies_path
%br
= link_to "Freecyclery Bikes Ready for Pickup", freecyclery_pickup_bikes_path
= link_to "Freecyclery Bikes Ready for Pickup", ready_for_pickup_path
%br
= link_to "Freecyclery Closed Applications", closed_applications_path