Improved Add Bike view

Worked out some bootstrap overrides issues
This commit is contained in:
Jason Denney
2014-01-19 19:32:18 -05:00
parent 0f890e12e9
commit a8bdb52536
6 changed files with 33 additions and 13 deletions
+4
View File
@@ -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