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.
 
 
 
 
 
 

24 lines
736 B

.container.print-labels
- @bikes.each do |bike|
.col-xs-6
.print-label
%h2
%strong='$' + bike.price
=' ' + bike.brand + ' ' + bike.model
%br
.horizontal-line
.bike-specs
= "Top Tube Size: " + bike.top_tube_size.to_s
%br
= "Seat Tube Size: " + bike.seat_tube_size.to_s
.row
.col-xs-6.work-done
.desc
%strong Work Done:
=simple_format(bike.work_done)
.col-xs-6.new-parts
.desc
%strong New Parts:
=simple_format(bike.new_parts)
.row
.col-xs-12= "Log #: " + bike.log_number.to_s + ", Serial #: " + bike.serial_number