Sha256: 54bce36acf08116c6c308d8696616569170b55ab9b1e0778fa1dfb4de726b9ce

Contents?: true

Size: 686 Bytes

Versions: 5

Compression:

Stored size: 686 Bytes

Contents

<%= text_f f, :url, :class => "input-xlarge", :help_block => _("e.g. http://openstack:5000/v2.0/tokens") %>
<%= text_f f, :user %>
<%= password_f f, :password %>

<% tenants = f.object.tenants rescue [] %>
<%= selectable_f(f, :tenant, tenants, {}, {:label => _('Tenant'), :disabled => tenants.empty?,
                 :help_inline => link_to_function(tenants.empty? ? _("Load Tenants") : _("Test Connection"), "testConnection(this)",
                 :class => "btn + #{tenants.empty? ? "" : "btn-success"}",
                 :'data-url' => test_connection_compute_resources_path) + image_tag('/assets/spinner.gif', :id => 'test_connection_indicator', :class => 'hide').html_safe }) %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/compute_resources/form/_openstack.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/compute_resources/form/_openstack.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/compute_resources/form/_openstack.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/compute_resources/form/_openstack.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/compute_resources/form/_openstack.html.erb