<%- model_class = WorkExperience -%>
<div class="page-header">
  <h1><%=t '.title', :default => model_class.model_name.human.pluralize.titleize %></h1>
</div>

<% @work_experiences.each do |work_experience| %>
  <%= render work_experience %>
<% end %>

<%= link_to "New Work Experience", new_work_experience_path, :class => 'btn btn-primary' if user_signed_in? %>

<%- model_class = WorkExperience -%>
<div class="page-header">
  <h1><%=t '.title', :default => model_class.model_name.human.pluralize.titleize %></h1>
</div>

<%= render @work_experiences %>

<%= link_to "New Work Experience", new_work_experience_path, :class => 'btn btn-primary' if user_signed_in? %>

Use shorthand render for work_experiences
Use shorthand render for work_experiences

Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
