Project

General

Profile

Download (1.09 KB) Statistics
| Branch: | Tag: | Revision:
<%= text_f f, :server, :label => _("VCenter/Server"), :size => "col-md-8", :help_inline => documentation_button('5.2.9VMwareNotes') %>
<%= text_f f, :user %>
<%= password_f f, :password %>
<% datacenters = list_datacenters f.object%>
<%= selectable_f(f, :datacenter, datacenters, {}, {:label => _('Datacenter'),
:help_inline => link_to_function(datacenters.empty? ? "Load Datacenters" : "Test Connection", "testConnection(this)",
:class => "btn + #{datacenters.empty? ? "btn-default" : "btn-success"}",
:'data-url' => test_connection_compute_resources_path) + image_tag('/assets/spinner.gif', :id => 'test_connection_indicator', :class => 'hide').html_safe }) %>
<%= text_f f, :pubkey_hash, :disabled => true, :label => _("Fingerprint"), :size => "col-md-8" %>
<%= checkbox_f f, :set_console_password, :checked => f.object.set_console_password?,
:label => _("Console passwords"),
:help_inline => _("Set a randomly generated password on the display connection") %>
<%= f.hidden_field(:pubkey_hash) if f.object.uuid.present? %>
(7-7/7)