Sha256: 8094777877e4344f5a1966dd7a272fefabe39f37997b69adf2cf157c85942ef0

Contents?: true

Size: 842 Bytes

Versions: 2

Compression:

Stored size: 842 Bytes

Contents

<%= render :layout => 'title', :locals => { :step => 1 } do %>
  <%= form_for @container, :url => wizard_path, :method => :put do |f| %>
    <div>
      <% if @container_resources.present? %>
        <h3><%= _("Resource selection") %></h3>
        <%= _("Where do you want to deploy your container?:") %>
        <hr>
        <%= select_f f, :compute_resource_id, @container_resources, :id, :to_label, {}, { :label => _('Deploy on') } %>
      <% else %>
        <div class="alert alert-warning alert-dismissable">
          <%= image_tag 'false.png' %> <%= (_("You need a Docker compute resource in order to create containers. Please %s and try again.") % link_to('add a new one', hash_for_new_compute_resource_path)).html_safe %>
        </div>
      <% end %>
    </div>

    <%= render :partial => 'form_buttons' %>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_docker-0.2.0 app/views/containers/steps/preliminary.html.erb
foreman_docker-0.1.0 app/views/containers/steps/preliminary.html.erb