mirror of
https://github.com/fspc/bike-database.git
synced 2025-02-23 09:33:23 -05:00
lk | adds none option to client bike
This commit is contained in:
parent
8a585c1e74
commit
ec9bfa02ee
@ -53,7 +53,7 @@
|
||||
.form-group
|
||||
= f.label "Bike:", class: "col-sm-2 control-label"
|
||||
.col-sm-10
|
||||
= f.select :bike_id, options_for_select( Bike.available_for_freecyclery.collect{|b| [ b.name, b.id ]}, @client.bike_id )
|
||||
= f.select :bike_id, options_for_select( Bike.available_for_freecyclery.collect{|b| [ b.name, b.id ]}, @client.bike_id ), {include_blank: 'None'}
|
||||
|
||||
.form-group
|
||||
= f.label "Agency:", class: "col-sm-2 control-label"
|
||||
|
Loading…
x
Reference in New Issue
Block a user