From 01c50964d26cf1a4a52e496b14e99b3129aec191 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Wed, 7 Feb 2024 23:03:59 +0000 Subject: [PATCH] Use component for heading --- app/views/_tailwind/applications/_address_search.html.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/_tailwind/applications/_address_search.html.erb b/app/views/_tailwind/applications/_address_search.html.erb index c4faee730..c5ba9ce06 100644 --- a/app/views/_tailwind/applications/_address_search.html.erb +++ b/app/views/_tailwind/applications/_address_search.html.erb @@ -1,7 +1,6 @@ <% content_for :meta_description, Rails.configuration.planningalerts_meta_description %> -

Search Applications

- +<%= render Tailwind::Heading.new(tag: :h1, extra_classes: "sr-only").with_content("Search Applications") %> <%= render "address_search_form", q: nil, error: %>