diff --git a/app/views/clients/_fields.html.haml b/app/views/clients/_fields.html.haml index accfb7a..9f5941b 100644 --- a/app/views/clients/_fields.html.haml +++ b/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