app/helpers/jobs_helper.rb
# for the button which toggles a job between public and private
for the button which toggles a job between public and private
for the button which toggles a job between public and private
def publicbuttong(flag)
    if flag == false
      return "btn btn-success"
    else
      return "btn btn-danger"
    end
  end
def publicbuttong ( flag ) if flag == false return "btn btn-success" else return "btn btn-danger" end end
for the button which toggles a job between public and private
for the button which toggles a job between public and private
flag
<not_specific>