Commit e1c9cc35 by Tô Ngọc Ánh

edit fe show page

parent d570f109
Pipeline #837 canceled with stages
in 0 seconds
<nav aria-label='breadcrumb'>
<ol class='breadcrumb'>
<li class='breadcrumb-item'><%= link_to 'TOP', root_path %></li>
<li class='breadcrumb-item'><%= link_to @job.locations.first.city, root_path %></li>
<li class='breadcrumb-item'><%= link_to @job.industries.first.name, root_path %></li>
<li class='breadcrumb-item'><%= link_to @job.locations.first.city, jobs_path(model: 'location', slug: @job.locations.first.slug) %></li>
<li class='breadcrumb-item'><%= link_to @job.industries.first.name, jobs_path(model: 'industry', slug: @job.industries.first.slug) %></li>
<li class='breadcrumb-item active' aria-current='page'><%= @job.title %></li>
</ol>
</nav>
......@@ -12,20 +12,20 @@
<h4><i class="fas fa-building"></i>
<%= link_to @job.company.name, '#', class: 'text-decoration-none text-dark' %>
</h4>
<h5><i class="fas fa-map-marker-alt"> </i>
<span class="mx-2"><i class="fas fa-map-marker-alt"> </i>
<% @job.locations.each do |location| %>
<%= link_to location.city, '#', class: 'vertical-divider text-dark' %>
<%= link_to location.city, jobs_path(model: 'location', slug: location.slug), class: 'vertical-divider text-dark' %>
<% end %>
</h5>
<h5><i class="fas fa-briefcase"> </i>
</span>
<span class="mx-2"><i class="fas fa-briefcase"> </i>
<% @job.industries.each do |industry| %>
<%= link_to industry.name, '#', class: 'vertical-divider text-dark' %>
<%= link_to industry.name, jobs_path(model: 'industry', slug: industry.slug), class: 'vertical-divider text-dark' %>
<% end %>
</h5>
<h5><i class="fas fa-wallet"></i> <%= @job.level %></h5>
<h5><i class="fas fa-wallet"></i> <%= @job.experience %></h5>
<h5><i class="fas fa-wallet"></i> <%= @job.salary %></h5>
<h5><i class="fas fa-wallet"></i> <%= @job.expiration_date %></h5>
</span>
<span class="mx-2"><i class="fas fa-user-alt"></i> <%= @job.level %></span>
<span class="mx-2"><i class="fas fa-business-time"></i> <%= @job.experience %></span>
<span class="mx-2"><i class="fas fa-wallet"></i> <%= @job.salary %></span>
<span class="mx-2"><i class="fas fa-calendar-week"></i> <%= @job.expiration_date %></span>
<hr>
<h3><strong>Description:</strong></h3>
<%= @job.description.html_safe %>
......
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