push Show Jobs

parent 2648d287
Pipeline #781 canceled with stages
in 0 seconds
<% @jobs.each do |job| %> <% @jobs.each do |job| %>
<% if job.cities.present? %> <% if job.cities.present? %>
<div class="border border-dark rounded"> <div class="border border-dark rounded">
<div class="job-details"> <div class="job-details">
<div class="title"><strong><%= job.title %></strong></div> <div class="title"><strong><%= job.title %></strong></div>
<div><%= job.company_name %></div> <div><%= job.company_name %></div>
<div class="salary">Salary: <%= job.salary %></div> <div class="salary">Salary: <%= job.salary %></div>
<div> <div>
<% job.cities.each do |city| %> <% job.cities.each do |city| %>
<%= city.name %> <%= city.name %>
<% end %> <% end %>
</div> </div>
<button type="button" class="btn btn-primary" id="button-follow">♥ Follow</button> <button type="button" class="btn btn-primary" id="button-follow">♥ Follow</button>
</div> </div>
</div> </div>
<br> <br>
<% end %> <% end %>
<% end %> <% end %>
\ No newline at end of file
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