Sha256: e5c5021be0a3b8ab3990df845cdda94408481bf7cb2bcbd875fed346bf6eba20

Contents?: true

Size: 1.32 KB

Versions: 6

Compression:

Stored size: 1.32 KB

Contents

<%= javascript 'foreman_docker/create_registry' %>
<%= form_for @registry, :url => (@registry.new_record? ? registries_path : registry_path(:id => @registry.id)) do |f| %>
    <%= base_errors_for @registry %>
    <ul class="nav nav-tabs" data-tabs="tabs">
      <li class="active"><a href="#primary" data-toggle="tab"><%= _("Registry") %></a></li>
      <% if show_location_tab? %>
          <li><a href="#locations" data-toggle="tab"><%= _("Locations") %></a></li>
      <% end %>
      <% if show_organization_tab? %>
          <li><a href="#organizations" data-toggle="tab"><%= _("Organizations") %></a></li>
      <% end %>
    </ul>

    <div class="tab-content">
      <div class="tab-pane active" id="primary">
        <%= text_f   f, :name %>
        <%= text_f   f, :url %>
        <%= text_f   f, :description, :label_help => _("Description of the registry") %>
        <%= text_f   f, :username, :label_help => _("Username used to access the registry") %>
        <%= password_f   f, :password, :label_help => _("Password used for authentication to the registry") %>
        <%= checkbox_f f, :verify_ssl, :label_help => _("Disable to use an insecure registry"), :wrapper_class => 'form-group hidden' %>
      </div>

      <%= render 'taxonomies/loc_org_tabs', :f => f, :obj => @registry %>
    </div>

    <%= submit_or_cancel f %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_docker-5.0.0 app/views/registries/_form.html.erb
foreman_docker-4.1.1 app/views/registries/_form.html.erb
foreman_docker-4.1.0 app/views/registries/_form.html.erb
foreman_docker-4.0.0 app/views/registries/_form.html.erb
foreman_docker-3.2.1 app/views/registries/_form.html.erb
foreman_docker-3.2.0 app/views/registries/_form.html.erb