lk | shows bikes in client wait list

This commit is contained in:
Louis Knapp
2016-01-05 14:16:24 -06:00
parent 071734cac5
commit 3d5b437832
2 changed files with 5 additions and 4 deletions
+2
View File
@@ -13,6 +13,7 @@
%th Height
%th Application Date
%th Agency
%th Bike
%th
%tbody
- @waiting_list.each_with_index do |client, index|
@@ -23,6 +24,7 @@
%td= client.height
%td= client.application_date
%td= client.agency.agency_name if client.agency
%td= client.bike_id ? Bike.find(client.bike_id).name : "None"
%td= link_to 'Edit', edit_client_path(client)
%br