app/helpers/jobs_helper.rb
# these statuses should be replaced by one method rather than
# this copy and paste horror below
these statuses should be replaced by one method rather than
this copy and paste horror below
these statuses should be replaced by one method rather than this copy and paste horror below
def boxoff
    unless request.path =~ /new/
      return 'readonly'
    else
      return 'onchange="moveRect();"'
    end
  end
def boxoff unless request . path =~ / new / return 'readonly' else return 'onchange="moveRect();"' end end
these statuses should be replaced by one method rather than
this copy and paste horror below
these statuses should be replaced by one method rather than this copy and paste horror below