Browse Source

lk | moves agency above type of bike requested on client page

master
Louis Knapp 9 years ago
parent
commit
a92240ba30
  1. 10
      app/views/clients/_fields.html.haml

10
app/views/clients/_fields.html.haml

@ -35,6 +35,11 @@
.col-sm-10
= f.text_field :application_date, class: "form-control datepicker", disabled: disabled
.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
.form-group
= f.label "Type of Bike Requested:", class: "col-sm-2 control-label"
.col-sm-10
@ -68,11 +73,6 @@
- else
= f.select :bike_id, options_for_select( Bike.available_for_freecyclery.collect{|b| [ b.name, b.id ]}, @client.bike_id ), {include_blank: 'None'}, class: "selectpicker", disabled: disabled
.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
.form-group
= f.label "Notes:", class: "col-sm-2 control-label"
.col-sm-10

Loading…
Cancel
Save