<div class="container">
  <h1>companies</h1>
  <% @companies.each do |company| %>
    <div class="company-box">
      <h2><%= company.name %></h2>
        <% company.users.each do |employee| %>
          <%= link_to employee.username, user_path(employee) %>
        <% end  %>
      <p><%= link_to "Edit Company", edit_company_path(company)%></p>
      <p><%= link_to 'Delete Posting', company_path(company), method: :delete %></p>
    </div>
  <% end  %>
</div>



<div class="container">
<%= link_to "Add New Company", new_company_path%> 
  <h1>companies</h1>
  <% @companies.each do |company| %>
    <div class="company-box">
      <h2><%= company.name %></h2>
        <% company.users.each do |employee| %>
          <%= link_to employee.username, user_path(employee) %>
        <% end  %>
      <p><%= link_to "Edit Company", edit_company_path(company)%></p>
      <p><%= link_to 'Delete Posting', company_path(company), method: :delete %></p>
    </div>
  <% end  %>
</div>



Add link to make new company to index
Add link to make new company to index
