Sha256: 6afae68b0478611cf154d39cf5e79f3763f80364cbc683e9b286d091ea74e3c7
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 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')).merge(:label => _('Name')) %> <% 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, {}, { :label => _('Hypervisor Type') } %> <%= text_f f, :hypervisor_server, { :label => _('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, { :label => _('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, { :label => _('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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_virt_who_configure-0.5.14 | app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb |