Sha256: 690e5af9d6778868427508d13f257fa80a01080bef63abb82c31469e571a15a5

Contents?: true

Size: 669 Bytes

Versions: 2

Compression:

Stored size: 669 Bytes

Contents

<div id='hypervisor_selection'>
  <%= selectable_f_with_cache_invalidation(f, :hypervisor_host,
        options_from_collection_for_select(
          compute_resource.available_hypervisors, :uuid, :display_name
        ),
        { include_blank: 'Automatic allocation' },
        { class: "span2",
          disabled: (controller_name != 'hosts'),
          label: _("Hypervisor"), },
        { title: 'Refresh available hypervisors',
          url: url_for(controller: "foreman_xen/cache",
                       action: "refresh", only_path: true),
          compute_resource_id: compute_resource.id,
          attribute: 'available_hypervisors' }
      ) %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_xen-1.0.1 app/views/compute_resources_vms/form/_hypervisors.html.erb
foreman_xen-1.0.0 app/views/compute_resources_vms/form/_hypervisors.html.erb