<% title("Manage #{@model.to_s.pluralize}") %>
<%= link_to 'Manage Collectables', mod_dashboard_path, class: 'unstyled' %> / <%= link_to @model.to_s.pluralize, polymorphic_url([:mod, @model]), class: 'unstyled' %>
<%= search_form_for(@q, url: polymorphic_url([:mod, @model]), class: 'form form-inline admin-search-form') do |f| %> <%= f.search_field "name_#{I18n.locale}_cont", placeholder: 'Name', size: 30, class: 'form-control form-control-sm' %>
<%= check_box_tag :missing, 1, @missing %> <%= label_tag :missing, 'Only Missing' %>
<%= f.submit 'Search', class: 'btn btn-secondary btn-sm' %> <% end %>
<% if @sprite_key.present? %> <% end %> <% @collectables.each do |collectable| %> <% if @sprite_key.present? %> <% end %> <% end %>
Name Source Patch
<%= sprite(collectable, @sprite_key) %><%= collectable.name %> <%= sources(collectable) %> <%= collectable.patch %> <%= link_to fa_icon('pen'), polymorphic_url([:mod, collectable], action: :edit), class: 'btn btn-secondary btn-sm' %>