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

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

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

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

<%= form.label :tag, t_label('common.tags'), :class => "x-form-item label" %>
<%= tags_form_helper(form, "agent_environment[tag_list]", h(@agent_environment.tag_list), {:view_only => @view_only}) %>
<%= hidden_field_tag 'original_run_type', @agent_environment.run_type_option %> <%= form.label :run_type_option, t_label('.environment_type'), :class => "shared-environment-label item-label" %>

<%= t ".environment_type_caption" %>

<%= form.label :user_profile, t_label('agent_environments.user_profile'), :class => "user-profile-label item-label" %>
<%= text_field :agent_environment, :user_profile, :disabled => @view_only, :maxLength => 256, :class => "x-form-field user-profile-field" %>

<%= t('agent_environments.user_profile_caption') %>

<%= form.label :password, t_label('common.password'), :class => "password-label item-label" %>
<%= password_field_tag 'agent_environment[password]', '', { :size => 20, :class => "x-form-field password-field", :maxLength => 128, :disabled => @view_only, :autoComplete => "off"} %>

<%= t('agent_environments.password_caption') %>

<%= form.label :confirm_password, t_label('common.confirm_password'), :class => "password-label item-label" %>
<%= password_field_tag 'agent_environment[confirm_password]', '', { :size => 20, :class => "x-form-field password-field", :maxLength => 128, :disabled => @view_only, :autoComplete => "off"} %>

<%= t('agent_environments.confirm_password_caption') %>

<%= form.label :working_path, t_label('agent_environments.working_path'), :class => "working-path-label item-label" %>
<%= text_field :agent_environment, :working_path, :disabled => @view_only, :value => @agent_environment.working_path, :class => "x-form-field working-path-field" %>

<%= t('agent_environments.working_path_caption') %>

<% end %>