Sha256: 0e43c490a1cabe1d69acee6f7ef462ef4ca6157f6a9a998e47ed2aef8d8ae565

Contents?: true

Size: 1.1 KB

Versions: 16

Compression:

Stored size: 1.1 KB

Contents

<div id="config_general_information">
  <%= text_f f, :name, inline_help_popover(_('Name of this configuration, e.g. the name of the hypervisor')) %>

  <% 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, { :required => true }.merge(inline_help_popover(hypervisor_server_help_data[f.object.hypervisor_type]).merge(:data => { :help => hypervisor_server_help_data })) %>
  <%= text_f f, :hypervisor_username, { :required => true }.merge(inline_help_popover(hypervisor_username_help_data[f.object.hypervisor_type]).merge(:data => { :help => hypervisor_username_help_data }))  %>
  <%= password_f f, :hypervisor_password, { :required => true, :value => f.object.hypervisor_password }.merge(inline_help_popover(_('Account password by which virt-who is to connect to the hypervisor instance.'))) %>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
foreman_virt_who_configure-0.5.13 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.12 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.11 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.10 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.9 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.8 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.7 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.6 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.5 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.4 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.3 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.2 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.1 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.5.0 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.4.5 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb
foreman_virt_who_configure-0.4.4 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb