Project

General

Profile

Revision bc82d5d5

Added by Vanya Jauhal almost 8 years ago

Fixes #7865 - Adds support for configuring dns during container creation

View differences:

app/views/containers/steps/environment.html.erb
22 22
        <% end %>
23 23
        <%= link_to_add_fields(_("Add Exposed Port"), f, :exposed_ports,
24 24
                               'foreman_docker/common_parameters/exposed_ports') %>
25
        <h3><%= _("DNS") %></h3>
26
        <%= f.fields_for :dns, @docker_container_wizard_states_environment.dns do |builder| %>
27
          <%= render 'foreman_docker/common_parameters/dns', :f => builder %>
28
        <% end %>
29
        <%= link_to_add_fields(_("Add DNS"), f, :dns,
30
                               'foreman_docker/common_parameters/dns') %>                               
25 31
      </div>
26 32
   </div>
27 33
   <%= render :partial => 'form_buttons' %>

Also available in: Unified diff