Employers

<%= link_to 'New Employer', new_employer_path, class: 'btn btn-primary mb-3' %> <% @employers.each do |employer| %> <% end %>
Name Address Phone Email DOB Actions
<%= employer.name %> <%= employer.address %> <%= employer.phone %> <%= employer.email %> <%= employer.dob.strftime('%B %d, %Y') if employer.dob %> <%= link_to 'Show', employer, class: 'btn btn-sm btn-info' %> <%= link_to 'Edit', edit_employer_path(employer), class: 'btn btn-sm btn-warning' %>