job_detail
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
app/views/jobs/show.html.erb 0 → 100644
23 24 <!--Display detail of jobs--> 25 <div class="row row-cols-1"> 26 <div class="job-content-wrapper"> 27 <dl class="row"> 28 <dt class="col-sm-3">Job Title:</dt> 29 <dd class="col-sm-9"><%= @job.title %></dd> 30 31 <dt class="col-sm-3">Position:</dt> 32 <dd class="col-sm-9"> 33 <%= @job.position%> 34 </dd> 35 36 <dt class="col-sm-3">City:</dt> 37 <dd class="col-sm-9"> 38 <% @job.cities.map(&:name).each do |city_name| %> -
Master
<% @job.cities.each do |city| %> <%= link_to city.name, city_jobs_path(city) %> <% end %> -
-
-
app/views/jobs/show.html.erb 0 → 100644
18 <%= link_to "Industry", industries_path %> 19 </li> 20 <li class="breadcrumb-item active" aria-current="page">Current Job</li> 21 </ol> 22 </nav> 23 24 <!--Display detail of jobs--> 25 <div class="row row-cols-1"> 26 <div class="job-content-wrapper"> 27 <dl class="row"> 28 <dt class="col-sm-3">Job Title:</dt> 29 <dd class="col-sm-9"><%= @job.title %></dd> 30 31 <dt class="col-sm-3">Position:</dt> 32 <dd class="col-sm-9"> 33 <%= @job.position%> -
Master
thiếu space
-
-
-
Toggle commit list
-
20 20 21 21 get "jobs/city/:city_id", to: "jobs#index", as: "city_jobs" 22 22 get "jobs/industry/:industry_id", to: "jobs#index", as: "industry_jobs" 23 get "detail/:job_id", to: "jobs#show", as: "job" 23 24 24 25 concern :paginatable do 25 26 get "(page/:page)", action: :index, on: :collection, as: "" 26 27 end 27 28 28 resources :jobs, only: :index, concerns: :paginatable -
merged
Toggle commit list