diff --git a/app/views/_tailwind/applications/_create_alert_form.html.erb b/app/views/_tailwind/applications/_create_alert_form.html.erb index 889c7b73d..38f94e4c1 100644 --- a/app/views/_tailwind/applications/_create_alert_form.html.erb +++ b/app/views/_tailwind/applications/_create_alert_form.html.erb @@ -1,14 +1,14 @@ <% if current_user %> -
Save this search as an email alert
+ <%= form_with model: [:profile, alert], builder: FormBuilders::Tailwind do |f| %> + <%= f.hidden_field :address %> + <%= f.hidden_field :radius_meters %> + <%= f.button "Save" %> + <% end %>