<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %> <% fields_for @agent_install_configuration do |form| %> <%= hidden_field :agent_install_configuration, :id %>
<%= label :agent_install_configuration, :name, t_label('common.name'), :class => "name-label item-label" %>
<%= text_field :agent_install_configuration, :name, :maxLength => 20, :class => "x-form-field name-field" %>

<%= t('common.name_caption') %>

<%= label :agent_install_configuration, :description, t_label('common.description'), :class => "description-label item-label" %>
<%= text_area :agent_install_configuration, :description, :maxLength => 80, :value => @agent_install_configuration.description, :class => "x-form-field description-field" %>

<%= t('common.description_caption') %>

<%= label :agent_install_configuration, :create_skybot_user, t_label('agent_install_configurations.agent_install_configuration.create_automate_user'), :class => "description-label item-label" %>
<%= check_box :agent_install_configuration, :create_skybot_user, :class => "" %>

<%= t('agent_install_configurations.agent_install_configuration.create_automate_user_caption') %>

<%= label :agent_install_configuration, :install_local_java, t_label('agent_install_configurations.agent_install_configuration.install_local_java'), :class => "description-label item-label" %>
<%= check_box :agent_install_configuration, :install_local_java, :class => "" %>

<%= t('agent_install_configurations.agent_install_configuration.install_local_java_caption') %>

<%= label :agent_install_configuration, :java_home, t_label('agent_install_configurations.agent_install_configuration.java_home'), :class => "name-label item-label" %>
<%= text_field :agent_install_configuration, :java_home, :maxLength => 250, :value => @agent_install_configuration.java_home, :class => "x-form-field name-field" %>

<%= t('agent_install_configurations.agent_install_configuration.java_home_caption') %>

<%= hidden_field_tag 'java_home_hidden_value', @agent_install_configuration.java_home %>
<%= label :agent_install_configuration, :install_directory, t_label('agent_install_configurations.agent_install_configuration.install_directory'), :class => "name-label item-label" %>
<%= text_field :agent_install_configuration, :install_directory, :maxLength => 250, :value => @agent_install_configuration.install_directory, :class => "x-form-field bame-field" %>

<%= t('agent_install_configurations.agent_install_configuration.install_directory_caption') %>

<%= form.label :local_listen_port, t_label('agent_install_configurations.agent_install_configuration.listen_port'), :class => "name-label item-label" %>
<%= form.spinner :local_listen_port, :minValue => 1, :maxValue => 65535, :maxlength => 5, :allowDecimals => false, :class => "inactivity-time-out-field" %>

<%= t('agent_install_configurations.agent_install_configuration.listen_port_caption') %>

<% end %>