From f0d4bbea122c996d966a0080f1f9265b6f4dab4b Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sat, 21 Dec 2019 16:18:56 -0500 Subject: [PATCH] add missing error_tag for tag_input --- lib/philomena_web/templates/image/_tags.html.slime | 1 + lib/philomena_web/templates/image/new.html.slime | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/philomena_web/templates/image/_tags.html.slime b/lib/philomena_web/templates/image/_tags.html.slime index 2bc2df0c..642cd485 100644 --- a/lib/philomena_web/templates/image/_tags.html.slime +++ b/lib/philomena_web/templates/image/_tags.html.slime @@ -20,6 +20,7 @@ ' . = render PhilomenaWeb.TagView, "_tag_editor.html", f: f, name: :tag_input, type: :edit, extra: [value: @image.tag_list_cache] + = error_tag f, :tag_input = if !@conn.assigns.current_user do .block.block--fixed.block--warning diff --git a/lib/philomena_web/templates/image/new.html.slime b/lib/philomena_web/templates/image/new.html.slime index 633686e8..e7e02ef2 100644 --- a/lib/philomena_web/templates/image/new.html.slime +++ b/lib/philomena_web/templates/image/new.html.slime @@ -56,6 +56,7 @@ ' tags, including ratings and applicable artist tags = render PhilomenaWeb.TagView, "_tag_editor.html", f: f, name: :tag_input, type: :upload + = error_tag f, :tag_input button.button.button--state-success.button--separate-left.button--bold id="tagsinput-save" type="button" title="This button saves the tags listed above to your browser, allowing you to retrieve them again by clicking the Load button" Save button.button.button--state-warning.button--separate-left.button--bold id="tagsinput-load" type="button" title="This button loads any saved tags from your browser" Load