Skip to content

Commit

Permalink
Use new side text button on contact form
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Jun 19, 2024
1 parent 736b073 commit 0a42631
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/views/_tailwind/contact_messages/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,12 @@
</div>
<% end %>
<div class="mt-12">
<%= f.button "Send message to the Planning Alerts team" %>
<%= render Tailwind::ButtonWithSideText.new(tag: :button, size: "xl", type: :primary) do |c| %>
Send message
<% c.with_side_text do %>
to the Planning Alerts team
<% end %>
<% end %>
</div>
<p class="mt-6 text-xl text-navy">We run this site, not the Government!</p>
<% end %>

0 comments on commit 0a42631

Please sign in to comment.