From 9b6abdf425e0d1051d0e7a7d2bda086e9731f652 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Thu, 11 Apr 2024 17:18:07 +0200 Subject: [PATCH] Reintroduce autocomplete_tag_list partial alchemy-devise uses it and apps or extensions might use it as well. It now uses the ViewComponent internally. --- .../alchemy/admin/partials/_autocomplete_tag_list.html.erb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 app/views/alchemy/admin/partials/_autocomplete_tag_list.html.erb diff --git a/app/views/alchemy/admin/partials/_autocomplete_tag_list.html.erb b/app/views/alchemy/admin/partials/_autocomplete_tag_list.html.erb new file mode 100644 index 0000000000..15d8154350 --- /dev/null +++ b/app/views/alchemy/admin/partials/_autocomplete_tag_list.html.erb @@ -0,0 +1,3 @@ +<%= render Alchemy::Admin::TagsAutocomplete.new do %> + <%= f.text_field :tag_list, value: object.tag_list.join(",") %> +<% end %>