From 20bc8c141649a252821226a191a228d46b85139d Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sun, 22 Dec 2019 10:06:10 -0500 Subject: [PATCH] more careful with image tags --- lib/philomena_web/templates/image/_tags.html.slime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena_web/templates/image/_tags.html.slime b/lib/philomena_web/templates/image/_tags.html.slime index 642cd485..6483679c 100644 --- a/lib/philomena_web/templates/image/_tags.html.slime +++ b/lib/philomena_web/templates/image/_tags.html.slime @@ -19,7 +19,7 @@ a href="/pages/spoilers" spoiler guidelines ' . - = render PhilomenaWeb.TagView, "_tag_editor.html", f: f, name: :tag_input, type: :edit, extra: [value: @image.tag_list_cache] + = render PhilomenaWeb.TagView, "_tag_editor.html", f: f, name: :tag_input, type: :edit, extra: [value: Enum.map_join(display_order(@image.tags), ", ", & &1.name)] = error_tag f, :tag_input = if !@conn.assigns.current_user do