<%= polyglot.t('serverConnectModal.intro') %>

<% // TODO: turn the error output into a template helper so // we don't have to keep repeating it %> <% if (ob.errors.name) { %>
    <% ob.errors.name.forEach(function(err) { print('
  • ' + err + '
  • '); }); %>
<% } %>
<% if (ob.errors.server_ip) { %>
    <% ob.errors.server_ip.forEach(function(err) { print('
  • ' + err + '
  • '); }); %>
<% } %>
/> />
<% if (!ob.isLocal) { %>
<% if (ob.errors.username) { %>
    <% ob.errors.username.forEach(function(err) { print('
  • ' + err + '
  • '); }); %>
<% } %>
<% if (ob.errors.password) { %>
    <% ob.errors.password.forEach(function(err) { print('
  • ' + err + '
  • '); }); %>
<% } %>
<% } %>
<% if (ob.errors.rest_api_port) { %>
    <% ob.errors.rest_api_port.forEach(function(err) { print('
  • ' + err + '
  • '); }); %>
<% } %>
<% if (ob.errors.api_socket_port) { %>
    <% ob.errors.api_socket_port.forEach(function(err) { print('
  • ' + err + '
  • '); }); %>
<% } %>
<% if (ob.errors.heartbeat_socket_port) { %>
    <% ob.errors.heartbeat_socket_port.forEach(function(err) { print('
  • ' + err + '
  • '); }); %>
<% } %>
<%= polyglot.t('Cancel') %> <%= polyglot.t('serverConnectModal.saveChanges') %>