Revision 1f71c494
Added by Tomer Brisker over 8 years ago
app/views/compute_resources_vms/form/rackspace/_base.html.erb | ||
---|---|---|
<%= select_f f, :flavor_id, compute_resource.flavors, :id, :name, {}, {:label => _('Flavor'), :class => 'without_select2'} %>
|
||
<%= select_f f, :flavor_id, compute_resource.flavors, :id, :name, {}, {:label => _('Flavor'), :label_size => "col-md-3", :class => 'without_select2'} %>
|
||
<%
|
||
arch ||= nil ; os ||= nil
|
||
images = possible_images(compute_resource, arch, os)
|
||
... | ... | |
|
||
<div id='image_selection'>
|
||
<%= select_f f, :image_id, images, :uuid, :name, {:include_blank => (images.empty? || images.size == 1) ? false : _('Please Select an Image')},
|
||
{:disabled => images.empty?, :label => _('Image'), :class => 'without_select2'} %>
|
||
{:disabled => images.empty?, :label => _('Image'), :label_size => "col-md-3", :class => 'without_select2'} %>
|
||
</div>
|
Also available in: Unified diff
Fixes #12204 - Show interface form helptext in popovers
Refs #12204 - Resize interface modal, fields and labels
To cause virtual network settings to display correcty changes were also needed
in the layout of the compute attribute forms.