#main_div
  - url = url_for(:action => 'resize_field_changed', :id => @record.id.to_s)

  = render :partial => "layouts/flash_msg"

  %h3
    = _('Reconfigure Instance')
  .form-horizontal
    .form-group
      %label.col-md-2.control-label
        = _('Current Flavor')
      .col-md-8
        = @record.flavor.name_with_details if @record.flavor
    .form-group
      %label.col-md-2.control-label
        = _('Choose Flavor')
      .col-md-8
        = select_tag('flavor',
            options_for_select(@flavors.sort),
            :multiple          => false,
            :id                => "flavor",
            "data-miq_observe" => {:interval => '.5', :url => url}.to_json)

#main_div
  - url = url_for(:action => 'resize_field_changed', :id => @record.id.to_s)

  = render :partial => "layouts/flash_msg"

  %h3
    = _('Reconfigure Instance')
  .form-horizontal
    .form-group
      %label.col-md-2.control-label
        = _('Current Flavor')
      .col-md-8
        = @record.flavor.name_with_details if @record.flavor
    .form-group
      %label.col-md-2.control-label
        = _('Choose Flavor')
      .col-md-8
        = select_tag('flavor',
            options_for_select(@flavors.sort),
            :class             => "selectpicker",
            "data-miq_sparkle_on" => true, "data-miq_sparkle_off" => true,
            :multiple          => false,
            :id                => "flavor",
            "data-miq_observe" => {:interval => '.5', :url => url}.to_json)
      :javascript
        miqInitSelectPicker();
        miqSelectPickerEvent("flavor", "#{url}");

Fix openstack cloud instance resize
Fix openstack cloud instance resize

Issue #7899
https://bugzilla.redhat.com/show_bug.cgi?id=1328083
(transferred from ManageIQ/manageiq@edcdac67efa4d961db161f8aef259137bb28ee03)
