show error tag for duplicate upload

This commit is contained in:
byte[] 2019-12-16 16:24:30 -05:00
parent dafb048302
commit 9f690218f2

View file

@ -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..."]
= submit "Upload", class: "button", autocomplete: "off", data: [disable_with: "Please wait..."]