<%= site_icon artist_url %>
<%= link_to artist_url.unescaped_url_identifier, artist_path(artist_url.artist, search: { artist_url_id: [artist_url.id] }), class: "site-icon-text" %>
diff --git a/app/views/artists/_secondary_links.html.erb b/app/views/artists/_secondary_links.html.erb
index 33bc48af..149dec3f 100644
--- a/app/views/artists/_secondary_links.html.erb
+++ b/app/views/artists/_secondary_links.html.erb
@@ -1,3 +1,4 @@
+<%# locals: () %>
<%= subnav_link_to "Listing", artists_path %>
<%= subnav_link_to "New", new_artist_path %>
<% unless @artist&.id %>
diff --git a/app/views/config/_secondary_links.html.erb b/app/views/config/_secondary_links.html.erb
index 383c2241..b5a2639a 100644
--- a/app/views/config/_secondary_links.html.erb
+++ b/app/views/config/_secondary_links.html.erb
@@ -1 +1,2 @@
+<%# locals: () %>
<%= subnav_link_to "Listing", config_index_path %>
diff --git a/app/views/log_events/_secondary_links.html.erb b/app/views/log_events/_secondary_links.html.erb
index c875d2d0..e65fe4df 100644
--- a/app/views/log_events/_secondary_links.html.erb
+++ b/app/views/log_events/_secondary_links.html.erb
@@ -1 +1,2 @@
+<%# locals: () %>
<%= subnav_link_to "Listing", log_events_path %>
diff --git a/app/views/submission_files/_e6_post_stats.html.erb b/app/views/submission_files/_e6_post_stats.html.erb
index 61d0445f..b8966cb1 100644
--- a/app/views/submission_files/_e6_post_stats.html.erb
+++ b/app/views/submission_files/_e6_post_stats.html.erb
@@ -1,3 +1,4 @@
+<%# locals: (submission_file:) -%>
<% submission_file.e6_posts.sort_by(&:similarity_score).reverse_each do |entry| %>
<%= link_to_external "##{entry.post_id}", "https://e621.net/posts/#{entry.post_id}", title: "Score: #{entry.score}" %>
diff --git a/app/views/submission_files/_list_with_search.html.erb b/app/views/submission_files/_list_with_search.html.erb
index d7597801..c3a036b1 100644
--- a/app/views/submission_files/_list_with_search.html.erb
+++ b/app/views/submission_files/_list_with_search.html.erb
@@ -1,4 +1,4 @@
-<%# TODO: Figure out how remove the folder prefix %>
+<%# locals: (path:, artist_urls:, submission_files:) -%>
<%= render "submission_files/search", path: path, artist_urls: artist_urls %>
<% submission_files.each do |file| %>
diff --git a/app/views/submission_files/_multiselect.html.erb b/app/views/submission_files/_multiselect.html.erb
index e3b6267d..7f27980d 100644
--- a/app/views/submission_files/_multiselect.html.erb
+++ b/app/views/submission_files/_multiselect.html.erb
@@ -1,3 +1,4 @@
+<%# locals: () %>
<%= toggleable("multiselect", "Enter select mode", "Leave select mode", visible_on_load: false) do %>
<%= fake_link("Hide selected", id: "hide-selected") %> (0)
<%= fake_link("Backlog selected", id: "backlock-selected") %> (0)
diff --git a/app/views/submission_files/_sample.html.erb b/app/views/submission_files/_sample.html.erb
index e4473012..2c3db397 100644
--- a/app/views/submission_files/_sample.html.erb
+++ b/app/views/submission_files/_sample.html.erb
@@ -1,4 +1,4 @@
-<% similarity ||= nil %>
+<%# locals: (submission_file:, similarity: nil) -%>
<%= tag.div class: "submission-sample", data: { id: submission_file.id } do %>
<% if submission_file.sample_generated? %>
diff --git a/app/views/submission_files/_search.html.erb b/app/views/submission_files/_search.html.erb
index 7c7a3bfe..97716845 100644
--- a/app/views/submission_files/_search.html.erb
+++ b/app/views/submission_files/_search.html.erb
@@ -1,3 +1,4 @@
+<%# locals: (path:, artist_urls:) -%>
<%= hideable_search(path) do |f| %>
<%= f.input :artist_url_id, label: "URLs", collection: artist_urls, input_html: { multiple: true } if artist_urls.any? %>
<%= f.input :upload_status, label: "Status", collection: [
diff --git a/app/views/submission_files/_secondary_links.html.erb b/app/views/submission_files/_secondary_links.html.erb
index 48cb1fee..8d692aed 100644
--- a/app/views/submission_files/_secondary_links.html.erb
+++ b/app/views/submission_files/_secondary_links.html.erb
@@ -1,3 +1,4 @@
+<%# locals: () %>
<%= subnav_link_to "Backlog", backlog_submission_files_path %>
<%= subnav_link_to "Hidden", hidden_submission_files_path %>
<% if instance_variable_defined?(:@search_params) %>
diff --git a/app/views/submission_files/_stats.html.erb b/app/views/submission_files/_stats.html.erb
index a44b0420..9b4f2f0c 100644
--- a/app/views/submission_files/_stats.html.erb
+++ b/app/views/submission_files/_stats.html.erb
@@ -1,3 +1,4 @@
+<%# locals: (submission_file:, similarity:) %>
<% artist_submission = submission_file.artist_submission %>
<% artist_url = submission_file.artist_url %>