Sha256: 3a51a0a9897db1887d12db6ffcb171ea298f37418c72d21a3c0f0eb722f69596

Contents?: true

Size: 956 Bytes

Versions: 1

Compression:

Stored size: 956 Bytes

Contents

<div id="config_general_information">
  <% if f.object.organization_id.present? %>
    <%= f.hidden_field :organization_id %>
  <% else %>
    <%= select_f f, :organization_id, Organization.authorized(:view_organizations), :id, :to_s, {}, :label => _('Owner') %>
  <% end %>

  <%= select_f f, :hypervisor_type, ForemanVirtWhoConfigure::Config::HYPERVISOR_TYPES, :first, :last %>
  <%= text_f f, :hypervisor_server, :help_inline => popover('', hypervisor_server_help_data[f.object.hypervisor_type].html_safe), :data => { :help => hypervisor_server_help_data } %>
  <%= text_f f, :hypervisor_username, :help_inline => popover('', hypervisor_username_help_data[f.object.hypervisor_type].html_safe), :data => { :help => hypervisor_username_help_data }  %>
  <%= password_f f, :hypervisor_password, :value => f.object.hypervisor_password, :help_inline => popover('', _('Account password by which virt-who is to connect to the hypervisor instance.')) %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foreman_virt_who_configure-0.0.1 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb