Sha256: 91fe77013d952d517d9a90b40614770797eb5750b262a2d96b4769ca55ace6e6

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

<div id="config_general_information">
  <%= text_f f, :name, :help_inline => 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, :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.2 app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb