<% # (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_close_#{@job.id}" form_id = "job_prerequisites_#{@job.id}" @title_section = t('.title') @title_section = @title_section + ' ' + t('common.view_only_mode') if @view_only @title_item = @job.name @help_link_anchor = HELP_URL_CONFIG['jobs']['job_prerequisites'] if @job.job_type == JobSuite::JOB_TYPE url = job_suite_path(@job.id) prereqListPath = edit_job_suite_path(@job.id, :list => 'prerequisites') parent_type = "job_suite" else url = job_path(@job.id) prereqListPath = edit_job_path(@job.id, :list => 'prerequisites') parent_type = "job" end %> <% form_for(@job, :url => url, :html => { :id => form_id, :class => "edit_job", :autocomplete => "off", :onsubmit => "try {helpsys.CntMgr.getController('#{form_id}').submitForm();} catch(e) {console.log(e);};return false;"}) do |form| %> <% render( :layout => 'shared/edit_section', :locals => { :section_id => "job-general", :section_title => t("#{parent_type}s.job_monitor_events.job_settings"), :summary_only => true}) do %>

<%= t_label("#{parent_type}s.#{parent_type}.timezone_option") %>

<%= h @job.timezone_type_text %>

<% end %> <%= render( :partial => 'jobs/edit_prerequisites', :layout => 'shared/edit_section', :locals => { :section_id => "job-prerequisites", :section_title => t('common.prerequisites_title'), :details_only => true}) %>
<%= standard_buttons(button_id) %>
<% end %>