<%= text_f f, :hostname, :label => _("Hostname"), :required => true %> <%= text_f f, :api_port, :label => _("API Port"), :required => true %> <%= text_f f, :namespace, :label => _("Namespace"), :required => true %> <%= password_f f, :token, :label => _("Token"), :required => true, :keep_value => true, :unset => unset_password?, :help_block => _("e.g. eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9..."), :help_inline => documentation_button('/foreman_kubevirt/0.x/index.html#4.1SettingComputeResourceTokenandX509CAvalues', :root_url => 'https://theforeman.org/plugins'), :id => "compute_resource_password" %> <%= textarea_f f, :ca_cert, :label => _("X509 Certification Authorities"), :placeholder => _("Optionally provide a CA, or a correctly ordered CA chain or a path to a file. If left blank - insecure.") %>
<%= test_connection_button_f(f, true) %>