fix: :uploaded_image instead of :image

SearchQuery doesn't have :image so I don't think this error_tag would ever be reached
This commit is contained in:
mdashlw 2024-07-21 18:54:01 -07:00
parent 5def18e5f0
commit a9077f4bf4
No known key found for this signature in database
GPG key ID: 0887AF18569DED32

View file

@ -13,7 +13,7 @@ h1 Reverse Search
p Upload a file from your computer, or provide a link to the page containing the image and click Fetch. p Upload a file from your computer, or provide a link to the page containing the image and click Fetch.
.field .field
= file_input f, :image, class: "input js-scraper" = file_input f, :image, class: "input js-scraper"
= error_tag f, :image = error_tag f, :uploaded_image
= error_tag f, :image_width = error_tag f, :image_width
= error_tag f, :image_height = error_tag f, :image_height
= error_tag f, :image_mime_type = error_tag f, :image_mime_type