<section class="mt-5">
  <h1 class="h3"><%= t(".heading") %> (<%= directories.size %>)</h1>
  <ul class="list-unstyled mt-2 row">
    <div class="col-sm-6 col-md-4 col-lg-3 mt-4">
      <li class="card h-100 shadow-sm">
        <div class="card-body d-flex flex-column justify-content-center align-items-center">
          <%= fa_icon("plus-circle", class: "text-success", style: "font-size:4rem") %>
          <% if policy(Directory).new? %>
            <%= link_to t("projects.index.actions.folder"), [:new, @project, :directory], class: "mt-4 text-reset text-decoration-none stretched-link" %>
          <% end %>
        </div>
      </li>
    </div>
    <%= render directories, project: @project %>
  </ul>
</section>