diff --git a/app/views/components/search_component.rb b/app/views/components/search_component.rb index 74ff3c4c..b3262235 100644 --- a/app/views/components/search_component.rb +++ b/app/views/components/search_component.rb @@ -10,7 +10,7 @@ def template form(id: "search_form", action: path, accept_charset: "UTF-8", data_remote: "true") do div(class: "flex items-center gap-2") do whitespace - label(for: "email", class: "sr-only") { "Email" } + label(for: "search_term", class: "sr-only") { "Search Term" } whitespace input( name: "search_term", diff --git a/tailwind.config.js b/tailwind.config.js index abd0a119..c7be6685 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,8 +4,8 @@ module.exports = { './app/helpers/**/*.rb', './app/assets/stylesheets/**/*.css', './app/javascript/**/*.js', - './app/components/**/*.html.erb', - './app/components/**/*.rb', + './app/views/components/**/*.html.erb', + './app/views/components/**/*.rb', ], theme: { extend: {