diff --git a/app/views/elasticsearch/index.html.erb b/app/views/elasticsearch/index.html.erb index 3056b66e5..e7ca8f4cf 100644 --- a/app/views/elasticsearch/index.html.erb +++ b/app/views/elasticsearch/index.html.erb @@ -1,18 +1,22 @@

<%= link_to(t("views.elasticsearch.title"), elasticsearch_path, { class: "text-dark" }) %>

-<%= form_with({ scope: :elasticsearch, - url: elasticsearch_path, - method: :get, - local: true, - class: "form-inline my-1", }) do |f| %> - <%= f.label("search", class: "sr-only") %> - <%= f.text_field(:word, - { placeholder: "Keyword", - value: params.dig(:elasticsearch, :word), - class: "form-control mr-sm-2", }) %> - <%= button_tag(type: :submit, class: "btn btn-secondary") do %> - <%= bootstrap_icon("search") %> - <% end %> +<%= form_with( scope: :elasticsearch, + url: elasticsearch_path, + method: :get, + local: true, + class: "row my-1",) do |f| %> +
+ <%= f.label("search", class: "visually-hidden") %> + <%= f.text_field(:word, + { placeholder: "Keyword", + value: params.dig(:elasticsearch, :word), + class: "form-control mr-sm-2", }) %> +
+
+ <%= button_tag(type: :submit, class: "btn btn-secondary") do %> + <%= tag.i(class: "bi-search") %> + <% end %> +
<% end %> <% @sakes.each do |sake| %>