Sha256: 8424fe9fcb5230896ffd1f1636d52c45f73e6ac09c74bcb34dcb0bb0ee351c76
Contents?: true
Size: 691 Bytes
Versions: 6
Compression:
Stored size: 691 Bytes
Contents
<%= text_f f, :user, :label => _("Client ID") %> <%= password_f f, :password, :label => _("API Key") %> <% regions = f.object.regions rescue [] %> <div id='region_selection'> <%= select_f(f, :region, regions, :id, :name, {}, {:label => _('Default Region'), :disabled => regions.empty?, :help_inline => link_to_function(regions.empty? ? _("Load Regions") : _("Test Connection"), "testConnection(this)", :class => "btn + #{regions.empty? ? "btn-default" : "btn-success"}", :'data-url' => test_connection_compute_resources_path) + image_tag('/assets/spinner.gif', :id => 'test_connection_indicator', :class => 'hide').html_safe }) %> </div>
Version data entries
6 entries across 6 versions & 1 rubygems