mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
show error tag for duplicate upload
This commit is contained in:
parent
dafb048302
commit
9f690218f2
1 changed files with 2 additions and 1 deletions
|
@ -35,6 +35,7 @@
|
||||||
= error_tag f, :image_height
|
= error_tag f, :image_height
|
||||||
= error_tag f, :image_name
|
= error_tag f, :image_name
|
||||||
= error_tag f, :image_mime_type
|
= error_tag f, :image_mime_type
|
||||||
|
= error_tag f, :image_orig_sha512_hash
|
||||||
|
|
||||||
.field.field--inline
|
.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"
|
= 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)
|
= checkbox f, :anonymous, class: "checkbox", value: anonymous_by_default?(@conn)
|
||||||
|
|
||||||
.actions
|
.actions
|
||||||
= submit "Upload", class: "button", autocomplete: "off", data: [disable_with: "Please wait..."]
|
= submit "Upload", class: "button", autocomplete: "off", data: [disable_with: "Please wait..."]
|
||||||
|
|
Loading…
Reference in a new issue