%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2010 %> <% button_id, dialog_id, checked = "button_switch_#{@job.id}", 'job_start_job', '' is_target_agent_group = @job.target_type == 'AgentGroup' window_height, cookie_state = is_target_agent_group ? [695, 'a'] : [615, 'b'] (window_height += 60) and (cookie_state += 'c') if (show_warning = (params[:sam_warning] && @job.scheduled?)) %> <% fields_for @job do |fields| %>