Bike database interface
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
449 B

.container
%br
%h1 Freecyclery Bikes for Pickup
%table.table.table-striped.table-bordered.table-hover
%thead
%tr
%th Bike
%th Client
%th
%tbody
- @bikes_for_pickup.each do |bike|
%tr
%td= bike.name
%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"