%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_close_#{@forecast_schedule.id}" form_id = @forecast_schedule.new_record? ? "new_forecast_schedule" : "edit_forecast_schedule_#{@forecast_schedule.id}" dialog_id = "dialog_edit_forecast_schedule_#{@forecast_schedule.id}" @title_section = t('forecast_schedules.forecast_schedule.dialog_title') @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = h context_name @help_link_anchor = HELP_URL_CONFIG['forecast_schedules']['forecast_schedule_settings'] %> <% form_for(@forecast_schedule, :html => { :id => form_id, :class => "edit_forecast_schedule", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"}) do |form| %> <%= render( :partial => 'edit_schedule', :layout => 'shared/edit_section', :locals => { :section_id => "forecast-schedule", :section_title => t('forecast_schedules.forecast_schedule.forecast_schedule'), :details_only => true}) %> <%= render( :partial => 'edit_exceptions', :layout => 'shared/edit_section', :locals => { :section_id => "forecast_schedule-exceptions", :section_title => t('forecast_schedules.forecast_schedule.exception_tab'), :details_only => true}) %>
<% end %>