From c414ea89b7a9d8271305bc5781638321a16d3e0c Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Thu, 1 May 2025 20:09:11 +0100 Subject: [PATCH] Use Fluxon selects for record form --- lib/music_library_web/components/form_component.ex | 12 +++--------- priv/gettext/default.pot | 10 ---------- priv/gettext/en/LC_MESSAGES/default.po | 10 ---------- 3 files changed, 3 insertions(+), 29 deletions(-) diff --git a/lib/music_library_web/components/form_component.ex b/lib/music_library_web/components/form_component.ex index b305ca5a..42c13081 100644 --- a/lib/music_library_web/components/form_component.ex +++ b/lib/music_library_web/components/form_component.ex @@ -34,18 +34,14 @@ defmodule MusicLibraryWeb.FormComponent do phx-submit="save" >
- <.input + - <.input +
@@ -55,11 +51,9 @@ defmodule MusicLibraryWeb.FormComponent do type="text" label={gettext("MusicBrainz ID")} /> - <.input +
diff --git a/priv/gettext/default.pot b/priv/gettext/default.pot index 7c47e4a8..90a6af1e 100644 --- a/priv/gettext/default.pot +++ b/priv/gettext/default.pot @@ -23,11 +23,6 @@ msgstr "" msgid "Are you sure?" msgstr "" -#: lib/music_library_web/components/form_component.ex -#, elixir-autogen, elixir-format -msgid "Choose a value" -msgstr "" - #: lib/music_library_web/components/layouts/app.html.heex #: lib/music_library_web/live/artist_live/show.html.heex #: lib/music_library_web/live/collection_live/index.ex @@ -743,11 +738,6 @@ msgstr "" msgid "Release Date" msgstr "" -#: lib/music_library_web/components/form_component.ex -#, elixir-autogen, elixir-format -msgid "Choose a Release" -msgstr "" - #: lib/music_library_web/live/collection_live/show.html.heex #: lib/music_library_web/live/wishlist_live/show.html.heex #, elixir-autogen, elixir-format diff --git a/priv/gettext/en/LC_MESSAGES/default.po b/priv/gettext/en/LC_MESSAGES/default.po index ab5d8a59..fd907ee1 100644 --- a/priv/gettext/en/LC_MESSAGES/default.po +++ b/priv/gettext/en/LC_MESSAGES/default.po @@ -23,11 +23,6 @@ msgstr "" msgid "Are you sure?" msgstr "" -#: lib/music_library_web/components/form_component.ex -#, elixir-autogen, elixir-format -msgid "Choose a value" -msgstr "" - #: lib/music_library_web/components/layouts/app.html.heex #: lib/music_library_web/live/artist_live/show.html.heex #: lib/music_library_web/live/collection_live/index.ex @@ -743,11 +738,6 @@ msgstr "" msgid "Release Date" msgstr "" -#: lib/music_library_web/components/form_component.ex -#, elixir-autogen, elixir-format, fuzzy -msgid "Choose a Release" -msgstr "" - #: lib/music_library_web/live/collection_live/show.html.heex #: lib/music_library_web/live/wishlist_live/show.html.heex #, elixir-autogen, elixir-format, fuzzy