<%= product_wordmark :release_me, class: "small mb-3" %>
<%= bootstrap_form_with url: new_project_release_template_imports_path, project: @project, 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"), id: "search-button", class: "btn btn-light border rounded-pill-left") %> <% end%>
<%= bootstrap_form_with url: project_release_template_imports_path, project: @project do |form| %>
<% if @importable_templates.any? %> <%= render collection: @importable_templates, partial: 'release_template_imports/release_template' %> <% else %> <% end %>
<%= t(".table_headers.selection") %> <%= ContractTemplate.human_attribute_name(:name) %> <%= t(".table_headers.release_type") %> <%= ContractTemplate.human_attribute_name(:project) %>
<%= t(".empty") %>
<%= link_to t("shared.cancel"), [@project, :contract_templates], class: "col-3 text-reset" %> <% if @importable_templates.any? { |it| !it.already_imported? } %>
<%= form.submit t(".actions.import"), class: "btn btn-success btn-block" %>
<% end %>
<%= will_paginate @importable_templates %>
<% end %>