<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% fields_for @system_setting do |form| %>
<%= form.label :ha_email_address, t_label('system_settings.standby_server_notification'), :class => "email-ha-email-address-label item-label" %>
<%= form.text_field :ha_email_address, :disabled => @view_only, :class => "x-form-field ha-email-address-field" %>

<%= t('system_settings.ha_email_address_caption') %>

<% if @system_setting.standby_port.nil? && @system_setting.standby_server.nil? %>

<%= t_label('system_settings.standby_server_address') %>

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

<%= t_label('system_settings.standby_port') %>

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

<% else%>
<%= form.label :standby_server, t_label('system_settings.standby_server_address'), :class => "standby-server-label item-label" %>
<%= form.text_field :standby_server, :disabled => @view_only, :class => "x-form-field standby-server-field" %>

<%= t('system_settings.standby_server_address_caption') %>

<%= form.label :standby_port, t_label('system_settings.standby_port'), :class => "standby-port-label item-label" %>
<%= form.text_field :standby_port, :disabled => @view_only, :class => "x-form-field standby-port-field" %>

<%= t('system_settings.standby_port_caption') %>

<% end %> <% end %>