mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
Louis | user can mark bikes as picked up from the available freecyclery bikes page
This commit is contained in:
@@ -8,10 +8,12 @@
|
||||
%th Brand
|
||||
%th Model
|
||||
%th Client
|
||||
%th
|
||||
%tbody
|
||||
- @bikes_for_pickup.each do |bike|
|
||||
%tr
|
||||
%td= bike.brand
|
||||
%td= bike.model
|
||||
%td= bike.client.name
|
||||
%td= button_to "Mark as picked up", {controller: "bikes", action: "mark_picked_up", id: bike.id}, method: :patch, class: "btn btn-default"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user