From 9f690218f22d3daad643b66a0a52c23eb7e89040 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Mon, 16 Dec 2019 16:24:30 -0500 Subject: [PATCH] show error tag for duplicate upload --- lib/philomena_web/templates/image/new.html.slime | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/philomena_web/templates/image/new.html.slime b/lib/philomena_web/templates/image/new.html.slime index 35f7324e..633686e8 100644 --- a/lib/philomena_web/templates/image/new.html.slime +++ b/lib/philomena_web/templates/image/new.html.slime @@ -35,6 +35,7 @@ = error_tag f, :image_height = error_tag f, :image_name = error_tag f, :image_mime_type + = error_tag f, :image_orig_sha512_hash .field.field--inline = url_input f, :scraper_url, class: "input input--wide js-scraper", placeholder: "Link a deviantART page, a Tumblr post, or the image directly" @@ -87,4 +88,4 @@ = checkbox f, :anonymous, class: "checkbox", value: anonymous_by_default?(@conn) .actions - = submit "Upload", class: "button", autocomplete: "off", data: [disable_with: "Please wait..."] \ No newline at end of file + = submit "Upload", class: "button", autocomplete: "off", data: [disable_with: "Please wait..."]