%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% button_id = "button_close_#{@forecast_definition.id}" form_id = "new_forecast_definition" @title_section = t "forecast_definitions.forecast_definition.dialog_title" @title_item = t('common.new_caption') @help_link_anchor = HELP_URL_CONFIG['scheduling_objects']['forecast_models']['forecast_model_settings'] %> <% form_for @forecast_definition, :url => forecast_models_path(), :html => {:id => form_id,:class => "edit_forecast_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 => "settings-general", :section_title => t('common.general_title'), :details_only => true}) %> <%= render( :partial => "edit_exclude", :layout => 'shared/edit_section', :locals => { :section_id => "settings-exclude", :section_title => t('forecast_definitions.exclude_jobs'), :details_only => true}) %> <%= render( :partial => "edit_purge", :layout => 'shared/edit_section', :locals => { :section_id => "settings-purge", :section_title => t('forecast_definitions.purge_title'), :details_only => true}) %>
<% end %>