Display cover upload error ID

This commit is contained in:
Claudio Ortolina
2025-01-07 09:40:54 +00:00
parent 3a49ffdd3c
commit 902120cc32
2 changed files with 5 additions and 4 deletions
@@ -56,6 +56,7 @@ defmodule MusicLibraryWeb.RecordLive.FormComponent do
<.label for={@uploads.cover_data.ref}>
{gettext("Cover art")}
</.label>
<.error :for={{_index, msg} <- @uploads.cover_data.errors}>{msg}</.error>
<span
:if={@uploads.cover_data.entries == []}
class="text-xs sm:text-sm float-right text-zinc-700 dark:text-zinc-400"
+4 -4
View File
@@ -141,7 +141,7 @@ msgstr ""
msgid "Next"
msgstr ""
#: lib/music_library_web/live/record_live/form_component.ex:63
#: lib/music_library_web/live/record_live/form_component.ex:64
#, elixir-autogen, elixir-format
msgid "No cover selected"
msgstr ""
@@ -195,7 +195,7 @@ msgstr ""
msgid "Record imported successfully"
msgstr ""
#: lib/music_library_web/live/record_live/form_component.ex:123
#: lib/music_library_web/live/record_live/form_component.ex:124
#: lib/music_library_web/live/wishlist_live/index.ex:148
#: lib/music_library_web/live/wishlist_live/show.ex:106
#, elixir-autogen, elixir-format
@@ -207,12 +207,12 @@ msgstr ""
msgid "Release"
msgstr ""
#: lib/music_library_web/live/record_live/form_component.ex:74
#: lib/music_library_web/live/record_live/form_component.ex:75
#, elixir-autogen, elixir-format
msgid "Save"
msgstr ""
#: lib/music_library_web/live/record_live/form_component.ex:74
#: lib/music_library_web/live/record_live/form_component.ex:75
#, elixir-autogen, elixir-format
msgid "Saving..."
msgstr ""