mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
Louis | Abstracts freecyclery functionality and adds closed applications page
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user