<%= form_for provisioner, :url => step2_update_foreman_setup_provisioner_path do |f| %> <%= base_errors_for provisioner %> <%= provisioner_wizard 2 %>

<%= _("To provision hosts, some configuration values are needed for the provisioning subnet attached to the Foreman server.") %>

<%= _("Domain") %>

<%= text_f f, :domain_name, :label => s_("Domain|Name"), :help_inline => _("The DNS domain name to provision hosts into") %>

<%= _("Subnet") %>

<%= f.fields_for :subnet, f.object.subnet do |sf| %> <%= render 'subnets/fields', :f => sf %> <% end %> <%= submit_or_cancel f, false, {:cancel_path => foreman_setup_provisioners_path, :disabled => !(f.object.host.present? && f.object.smart_proxy.present?)} %> <% end %>