fix display location

parent cb86cd1d
Pipeline #1384 failed with stages
in 0 seconds
module ApplicationHelper
def format_datetime(input)
return if input.nil?
input.strftime('%d/%m/%Y')
end
end
end
......@@ -4,8 +4,8 @@ nav.breadcrumb[style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb"]
= link_to "Top", root_path
li.breadcrumb-item
- @job.cities.each do |city|
= link_to city.name, city_slug_path(city.slug)
= link_to city.name + ' ', city_slug_path(city.slug)
li.breadcrumb-item
- @job.industries.each do |industry|
= link_to industry.name, industry_slug_path(industry.slug)
li.breadcrumb-item.active = link_to @job.title
\ No newline at end of file
= link_to industry.name + ' ', industry_slug_path(industry.slug)
li.breadcrumb-item.active = @job.title
\ No newline at end of file
......@@ -15,7 +15,7 @@
p.mb-2
| Location:
- @job.cities.each do |city|
= link_to city.name, city_slug_path(city.slug)
= link_to city.name + ' | ', city_slug_path(city.slug)
p.mb-2
| Job type:
= @job.job_type
......
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