mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
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:
parent
5def18e5f0
commit
a9077f4bf4
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
.field
|
||||
= 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_height
|
||||
= error_tag f, :image_mime_type
|
||||
|
@ -40,7 +40,7 @@ h1 Reverse Search
|
|||
|
||||
= cond do
|
||||
- is_nil(@images) ->
|
||||
|
||||
|
||||
- Enum.any?(@images) ->
|
||||
h2 Results
|
||||
|
||||
|
@ -49,7 +49,7 @@ h1 Reverse Search
|
|||
th
|
||||
th Image
|
||||
th
|
||||
|
||||
|
||||
= for match <- @images do
|
||||
tr
|
||||
th
|
||||
|
|
Loading…
Reference in a new issue