mirror of
https://github.com/fspc/bike-database.git
synced 2025-02-23 01:23:24 -05:00
lk | alphabetizes agency dropdown on clients page
This commit is contained in:
parent
a92240ba30
commit
4904d807bc
@ -38,7 +38,7 @@
|
||||
.form-group
|
||||
= f.label "Agency:", class: "col-sm-2 control-label"
|
||||
.col-sm-10
|
||||
= f.select :agency_id, Agency.all.collect {|b| [ b.agency_name, b.id ] }, {include_blank: 'None'}, class: "selectpicker", disabled: disabled
|
||||
= f.select :agency_id, Agency.order(:agency_name).collect {|b| [ b.agency_name, b.id ] }, {include_blank: 'None'}, class: "selectpicker", disabled: disabled
|
||||
|
||||
.form-group
|
||||
= f.label "Type of Bike Requested:", class: "col-sm-2 control-label"
|
||||
|
Loading…
x
Reference in New Issue
Block a user