Sha256: bf41fdfba374a894e106803b81e4454a91f4886602f3403112fe0956efada205

Contents?: true

Size: 522 Bytes

Versions: 5

Compression:

Stored size: 522 Bytes

Contents

<%= text_f f, :url, :class => "input-xlarge", :help_block => _("e.g. qemu://host.example.com/system") %>

<% hypervisor = f.object.hypervisor.uuid rescue nil%>
<% if hypervisor -%>
  <%= f.hidden_field :uuid, :value => hypervisor %>
<% end -%>
<%= link_to_function _("Test Connection"), "testConnection(this)", :class => "btn + #{hypervisor.nil? ? "" : "btn-success"}", :'data-url' => test_connection_compute_resources_path %>

<%= image_tag('/assets/spinner.gif', :id => 'test_connection_indicator', :class => 'hide') %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/compute_resources/form/_libvirt.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/compute_resources/form/_libvirt.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/compute_resources/form/_libvirt.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/compute_resources/form/_libvirt.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/compute_resources/form/_libvirt.html.erb