<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2013 %> <% button_id = "button_close_#{@automate_system_definition.id}" form_id = "new_automate_system_definition" @title = t('automate_system_definitions.automate_system_definition.dialog_title') @title_section = t('automate_system_definitions.automate_system_definition.dialog_title') @title_item = t('common.new_caption') @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['automate_system_definitions']['settings'] %> <% form_for @automate_system_definition, :html => { :id => form_id, :class => "edit_automate_system_definition", :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 => "automate-server-general", :section_title => t('common.general_title'), :details_only => true}) %> <%= render( :partial => "edit_server_information", :layout => 'shared/edit_section', :locals => { :section_id => "automate-server-information", :section_title => t('automate_system_definitions.automate_system_definition.server_information_tab'), :details_only => true}) %> <%= render( :partial => "edit_polling_configuration", :layout => 'shared/edit_section', :locals => { :section_id => "automate-polling-configuration", :section_title => t('automate_system_definitions.automate_system_definition.polling_config_tab'), :details_only => true}) %>
<%= standard_buttons(button_id) %> <%= button_to_function(t('common.validate'), "try {helpsys.CntMgr.getController('#{form_id}').verifySystemDefinition();} catch(e) {console.log(e);};return false;", :class => "save-button") %>
<% end %>