From 0a426312151f984b6a1d5d56fdd13f03ec9bf1e3 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Wed, 19 Jun 2024 02:00:09 +0000 Subject: [PATCH] Use new side text button on contact form https://www.bugherd.com/t/Q9HVLcOSG4S7dBbPjHX8dg --- app/views/_tailwind/contact_messages/_form.html.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/_tailwind/contact_messages/_form.html.erb b/app/views/_tailwind/contact_messages/_form.html.erb index 385444e5c..90e54d9e3 100644 --- a/app/views/_tailwind/contact_messages/_form.html.erb +++ b/app/views/_tailwind/contact_messages/_form.html.erb @@ -62,7 +62,12 @@ <% end %>
- <%= 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 %>

We run this site, not the Government!

<% end %>