%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_close_#{@agent_environment.id}" form_id = "new_agent_environment" @title = t('agent_environments.agent_environment.dialog_title') @title_section = t('agent_environments.agent_environment.dialog_title') @title_item = t('common.new_caption') @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['agent_environments']['agent_environment_settings'] %> <% form_for @agent_environment, :html => { :id => form_id, :class => "edit_agent_environment", :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 => "agent-environment-general", :section_title => t('common.general_title'), :details_only => true}) %> <%= render( :partial => "edit_variables", :layout => 'shared/edit_section', :locals => { :section_id => "agent-environment-variables", :section_title => t('agent_environments.agent_environment_variables'), :details_only => true}) %>