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.
16 lines
433 B
16 lines
433 B
.container
|
|
%h1 Select Bikes To Print
|
|
|
|
=form_tag("/bikes/print_labels", method: "get") do
|
|
%table.table.table-striped.table-bordered.table-hover
|
|
%thead
|
|
%tr
|
|
%th Bike
|
|
%th Select
|
|
-@bikes.each do |bike|
|
|
%tr
|
|
%td= bike.name
|
|
%td= check_box("print_bikes", bike.id)
|
|
=will_paginate @bikes
|
|
%br
|
|
=submit_tag 'Generate Labels', class: "btn btn-default"
|
|
|