<%= link_to root_path do %> ← Back to Active <% end %>

Templates Archived

<% if params[:q].present? || @pagy.pages > 1 %> <%= render 'shared/search_input' %> <% end %>
<% if @pagy.count > 0 %>
<%= render partial: 'templates/template', collection: @templates %>
<% elsif params[:q].present? %>
Templates not Found
<% end %> <%= render 'shared/pagination', pagy: @pagy, items_name: 'templates' %>