Skip to content

Commit

Permalink
Fix issue where submitting another query search while viewing one was…
Browse files Browse the repository at this point in the history
…n't working
  • Loading branch information
jclusso committed Feb 19, 2024
1 parent c908e10 commit aa45311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/queries/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= form_with(model: @query, html: { class: 'grid gap-3' }) do |form| %>
<%= form_with(model: @query, html: { class: 'grid gap-3' }, url: queries_path, method: :post) do |form| %>
<%= form.text_field :domain, label: false, placeholder: 'd53.co',
required: true, autocomplete: "off", autocorrect: "off",
autocapitalize: "off", spellcheck: "false", autofocus: @query&.domain.blank? %>
Expand Down

0 comments on commit aa45311

Please sign in to comment.