%# (C) COPYRIGHT HELP/SYSTEMS, L.L.C. 2009 %> <% fields_for @job do |form| purge_option = (@job.job_history_purge_option == SystemSetting::PURGE_BY_RUNS || @job.job_history_purge_option == SystemSetting::PURGE_BY_DAYS) ? @job.job_history_purge_option : SystemSetting::PURGE_BY_RUNS %>