add link_to to title favorite history

parent 3b6d9261
Pipeline #1410 failed with stages
in 0 seconds
......@@ -11,7 +11,7 @@ h3.p-3.text-center
= f.radio_button :job_id, favorite.job.id, class: "form-check-input mt-0"
.col-9.p-3.border.card-body.text-dark
h5.mb-1
= favorite.job.title
= link_to favorite.job.title, detail_path(favorite.job.slug)
p.mb-1
i.fas.fa-dollar-sign.m-1
| Lương:
......
......@@ -9,7 +9,7 @@ h3.p-3.text-center
= f.radio_button :job_id, history.job.id, class: "form-check-input mt-0"
.col-11.p-3.border.card-body.text-dark
h5.mb-1
= history.job.title
= link_to history.job.title, detail_path(history.job.slug)
p.mb-1
i.fas.fa-dollar-sign.m-1
| Lương:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment