1
|
<%= render :layout => 'title', :locals => { :step => 4 } do %>
|
2
|
<%= form_for @docker_container_wizard_states_environment, :url => wizard_path, :method => :put do |f| %>
|
3
|
<div class='row'>
|
4
|
<div class='col-md-6 col-md-push-7'>
|
5
|
<h3><%= _("Shell") %></h3>
|
6
|
<%= checkbox_f f, :tty, :help_inline => _('Allocate a pseudo-tty'), :label => _('TTY') %>
|
7
|
<%= checkbox_f f, :attach_stdin, :label => _('Attach STDIN') %>
|
8
|
<%= checkbox_f f, :attach_stdout, :label => _('Attach STDOUT') %>
|
9
|
<%= checkbox_f f, :attach_stderr, :label => _('Attach STDERR') %>
|
10
|
</div>
|
11
|
<div class='col-md-6 col-md-pull-6'>
|
12
|
<h3><%= _("Environment variables") %></h3>
|
13
|
<%= f.fields_for :environment_variables, @docker_container_wizard_states_environment.environment_variables do |builder| %>
|
14
|
<%= render 'foreman_docker/common_parameters/environment_variable', :f => builder %>
|
15
|
<% end %>
|
16
|
<%= link_to_add_fields(_("Add environment variable"), f, :environment_variables,
|
17
|
'foreman_docker/common_parameters/environment_variable') %>
|
18
|
</div>
|
19
|
</div>
|
20
|
<%= render :partial => 'form_buttons' %>
|
21
|
<% end %>
|
22
|
<% end %>
|