<% if @projects.any? %>

<%= t(".heading") %> (<%= @projects.size %>)

<%= bootstrap_form_with url: [@account, :projects], method: :get, remote: true, layout: :inline, id: "search" do |form| %> <%= form.search_field :query, hide_label: true, placeholder: t(".actions.search"), class: "rounded-pill-right", value: params[:query], prepend: form.button(fa_icon("search"), class: "btn btn-light border rounded-pill-left") %> <% end %>
<% else %> <%= render "empty_projects" %> <% end %>