<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2011 %> <% button_id = "button_close_#{@sap_system_definition.id}" form_id = "new_sap_system_definition" @title = t('sap_system_definitions.sap_system_definition.dialog_title') @title_section = t('sap_system_definitions.sap_system_definition.dialog_title') @title_item = t('common.new_caption') @help_link_anchor = HELP_URL_CONFIG['sap']['system']['settings'] %> <% form_for @sap_system_definition, :html => { :id => form_id, :class => "edit_sap_system_definition", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"} do |form| %> <%= hidden_field_tag "sap_system_definition[xbp_version]", @sap_system_definition.xbp_version %> <%= render( :partial => "edit_general", :layout => 'shared/edit_section', :locals => { :section_id => "sap-system-definition-general", :section_title => t('common.general_title'), :details_only => true}) %> <%= render( :partial => "edit_default_environment", :layout => 'shared/edit_section', :locals => { :section_id => "defaul-sap-system-environment", :section_title => t('sap_system_definitions.sap_system_definition.default_environment_tab'), :details_only => true}) %> <%# TODO - Remove SNC section from System Definition dialog. %> <%#= render( :partial => "edit_secure_network_settings", :layout => 'shared/edit_section', :locals => { :section_id => "sap-secure-network-settings", :section_title => t('sap_system_definitions.sap_system_definition.secure_network_settings_tab'), :details_only => true}) %> <%= render( :partial => "edit_intercepted_jobs_settings", :layout => 'shared/edit_section', :locals => { :section_id => "sap-intercepted-jobs-settings", :section_title => t('sap_system_definitions.sap_system_definition.intercepted_jobs_settings_tab'), :details_only => true}) %> <%= render( :partial => "edit_polled_jobs_settings", :layout => 'shared/edit_section', :locals => { :section_id => "sap-polled-jobs-settings", :section_title => t('sap_system_definitions.sap_system_definition.polled_jobs_settings_tab'), :details_only => true}) %> <%= render( :partial => "edit_xmi_audit_level", :layout => 'shared/edit_section', :locals => { :section_id => "xmi-audit-level", :section_title => t('sap_system_definitions.sap_system_definition.xmi_audit_level_tab'), :details_only => true}) %> <%= render( :partial => "edit_sld_registration_information", :layout => 'shared/edit_section', :locals => { :section_id => "sld-registration-information", :section_title => t('sap_system_definitions.sap_system_definition.sld_registration_heading'), :details_only => true}) %>
<%= standard_buttons(button_id) %> <%= button_to_function(t('sap_system_definitions.sap_system_definition.validate_btn'), "try {helpsys.CntMgr.getController('#{form_id}').verifySystemDefinition();} catch(e) {console.log(e);};return false;", :class => "save-button") %>
<% end %>