Skip to content

Commit

Permalink
Use component for heading
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Feb 7, 2024
1 parent 234d0b9 commit 01c5096
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/_tailwind/applications/_address_search.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<% content_for :meta_description, Rails.configuration.planningalerts_meta_description %>

<h1 class="sr-only">Search Applications</h1>

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

<div class="grid sm:grid-flow-col grid-rows-[repeat(4,_max-content)] auto-cols-fr gap-12 mt-20">
Expand Down

0 comments on commit 01c5096

Please sign in to comment.