From 45a0b54348498c9684d2951fdf19a4f288a1b150 Mon Sep 17 00:00:00 2001 From: elviabth Date: Fri, 31 May 2024 10:16:11 +0200 Subject: [PATCH] fix duplicated ids --- .../layouts/decidim/header/_menu_form_search_mobile.html.erb | 3 +-- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/decidim-core/app/views/layouts/decidim/header/_menu_form_search_mobile.html.erb b/decidim-core/app/views/layouts/decidim/header/_menu_form_search_mobile.html.erb index 60ae0d858705c..84d9549c5ee9e 100644 --- a/decidim-core/app/views/layouts/decidim/header/_menu_form_search_mobile.html.erb +++ b/decidim-core/app/views/layouts/decidim/header/_menu_form_search_mobile.html.erb @@ -1,8 +1,7 @@ -<%= form_tag(decidim.search_path, method: :get, id: "form-<%= id %>", class: "filter-search") do %> +<%= form_tag(decidim.search_path, method: :get, id: "form-search-mobile", class: "filter-search") do %> <%= text_field_tag( :term, nil, - id: "input-<%= id %>", class: "reset-defaults outline-none", value: params[:term] || params.dig(:filter, :term), placeholder: t("decidim.search.term_input_placeholder"), diff --git a/package-lock.json b/package-lock.json index bade1e587cac1..947b117598bd7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21078,4 +21078,4 @@ } } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 2d3591120ba0a..0bd1fc26b5bbd 100644 --- a/package.json +++ b/package.json @@ -71,4 +71,4 @@ "react-test-renderer": "^18.2.0", "yaml-jest": "^1.2.0" } -} \ No newline at end of file +}