mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Improved Add Bike view
Worked out some bootstrap overrides issues
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
class BikesController < AuthenticatedController
|
||||
|
||||
def new
|
||||
@brands = BikeBrand.all.map{ |b| [b.brand, b.id] }
|
||||
@brands.unshift( ["Select a brand", -1] )
|
||||
@wheel_sizes = BikeWheelSize.all.map{ |w| [w.display_string, w.id] }
|
||||
@wheel_sizes.unshift( ["Select a wheel size", -1] )
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user