%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2013 %> <% button_id = "button_close_#{@remote_server.id}" form_id = "new_remote_server" @title = t('remote_servers.remote_server.dialog_title') @title_section = t('remote_servers.remote_server.dialog_title') @title_item = t('common.new_caption') @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['remote_servers']['settings'] %> <% form_for @remote_server, :html => { :id => form_id, :class => "edit_remote_server", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"} do |form| %> <%= render( :partial => "edit_general", :layout => 'shared/edit_section', :locals => { :section_id => "remote-server-general", :section_title => t('common.general_title'), :details_only => true}) %> <% if @remote_server.server_type == RemoteServer::ROBOT_SCHEDULE_SERVER_TYPE%> <%= render( :partial => "edit_remote_server_information", :layout => 'shared/edit_section', :locals => { :section_id => "remote-server-information", :section_title => t('remote_servers.remote_server.remote_server_information_tab'), :details_only => true}) %> <% else %> <%= render( :partial => "edit_remote_automate_server_information", :layout => 'shared/edit_section', :locals => { :section_id => "remote-server-information", :section_title => t('remote_servers.remote_server.remote_server_information_tab'), :details_only => true}) %> <% end %>