<%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% button_id = "button_switch_#{@job_history.id}" form_id = "job_history_start_managed_job" dialog_id = "job_history_start_managed_job" grid_id = "job_history_start_managed_job_grid" job_history_id = @job_history.id url = restart_job_job_history_path checked = @job_history.reactivity_code == 1 ? 'checked' : '' i_checked = @job_history.bypass_job_monitors == 1 ? 'checked' : '' %>
<%= label "react_label", t(".perform_reactive") %>
<%= check_box "perform_reactive", job.hold, {:id => 'perform_reactive', :checked => "#{checked}" }, checked_value = "1", unchecked_value = "0" %>
<%= label "react_label", t(".ignore_monitors") %>
<%= check_box "ignore_monitors", job.hold, {:id => 'ignore_monitors', :checked => "#{i_checked}" }, checked_value = "1", unchecked_value = "0" %>
<%= label "ignore_conditions_label", t(".ignore_conditions") %>
<%= check_box "ignore_conditions", job.hold, {:id => 'ignore_conditions', :checked => "#{ignore_conditions}" }, checked_value = "1", unchecked_value = "0" %>
<%= text_field "default_priority", job.default_priority, {:id =>'run_priority', :value => job_history.job_priority, :class => "x-form-field name-field"} %>