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

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

<%= fields.label :description, t_label('common.description'), :class => "description-label item-label" %>
<%= text_area :remote_server, :description, :disabled => @view_only, :maxLength => 256, :value => @remote_server.description, :class => "x-form-field description-field", :style => "overflow:auto;height:64px;" %>

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

<%= fields.label :tag, t_label('common.tags'), :class => "x-form-item label" %>
<%= tags_form_helper(fields, "remote_server[tag_list]", h(@remote_server.tag_list), {:view_only => @view_only}) %>
<%= fields.label :server_type, t_label('.server_type'), :class => "x-form-item label" %>
<%= fields.label :server_type_value, RemoteServer::get_server_type(@remote_server.server_type) %> <%= hidden_field_tag 'remote_server[server_type]', @remote_server.server_type %>
<% end %>