Project

General

Profile

« Previous | Next » 

Revision 3595a70c

Added by Joseph Magen almost 11 years ago

  • ID 3595a70c5fa8f59ae48cd67cf009dbc839a14861

fixes #2484 - host, hostgroup, and BMC passwords were overwritten as blank

View differences:

app/views/compute_resources/form/_ovirt.html.erb
<%= text_f f, :url, :class => "input-xlarge", :help_block => _("e.g. https://ovirt.example.com:8443/api") %>
<%= text_f f, :user, :help_block => _("e.g. admin@internal") %>
<%= password_f f, :password, :placeholder => password_placeholder(f.object) %>
<%= password_f f, :password %>
<% datacenters = (f.object.uuid.nil? && controller.action_name != 'test_connection') ? [] : f.object.datacenters rescue []%>
<%= selectable_f(f, :uuid, datacenters, {}, {:label => _('Datacenter'),
:help_inline => link_to_function(datacenters.empty? ? _("Load Datacenters") : _("Test Connection"), "testConnection(this)",

Also available in: Unified diff