<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2016 %> <% fields_for @interface do |fields| %>
<%= label :interface, :name, t_label('common.name'), :class => "name-label item-label" %>
<%= text_field_tag "interface[name]", "", :disabled => @view_only,:size => 150, :maxLength => 75, :value => @interface.name, :class => "x-form-field name-field" %>

<%= t('universal_connector_servers.interfaces.interface.name_caption') %>

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

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

<% unless @new_record %>

<%= t_label('common.uuid') %>

<%= h @interface.uuid %>

<% end %>
<%= fields.check_box :enabled, :checked => (@interface['enabled'].nil? || @interface['enabled']) ? true : false, :disabled=> @view_only %>

<%= t('universal_connector_servers.interfaces.interface.enabled_caption') %>

<% end %>