From e173925a2aeb542924a6035780e71c05c350bce0 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Thu, 1 May 2025 21:44:11 +0100 Subject: [PATCH] Use fluxon components for remaining inputs --- .../components/add_record_component.ex | 8 +++----- .../components/record_components.ex | 6 +++--- .../controllers/session_html/new.html.heex | 12 +----------- .../live/collection_live/index.html.heex | 4 ++-- 4 files changed, 9 insertions(+), 21 deletions(-) diff --git a/lib/music_library_web/components/add_record_component.ex b/lib/music_library_web/components/add_record_component.ex index 62beb5a1..7211f5de 100644 --- a/lib/music_library_web/components/add_record_component.ex +++ b/lib/music_library_web/components/add_record_component.ex @@ -21,16 +21,14 @@ defmodule MusicLibraryWeb.AddRecordComponent do phx-submit="search" class="px-4" > - <.input + diff --git a/lib/music_library_web/components/record_components.ex b/lib/music_library_web/components/record_components.ex index da8b95ac..b3564749 100644 --- a/lib/music_library_web/components/record_components.ex +++ b/lib/music_library_web/components/record_components.ex @@ -197,15 +197,15 @@ defmodule MusicLibraryWeb.RecordComponents do def search_form(assigns) do ~H"""
- <.input + """ diff --git a/lib/music_library_web/controllers/session_html/new.html.heex b/lib/music_library_web/controllers/session_html/new.html.heex index 49dadff6..d539ae68 100644 --- a/lib/music_library_web/controllers/session_html/new.html.heex +++ b/lib/music_library_web/controllers/session_html/new.html.heex @@ -9,22 +9,12 @@
-
diff --git a/lib/music_library_web/live/collection_live/index.html.heex b/lib/music_library_web/live/collection_live/index.html.heex index 4fd5d5a9..c73412f8 100644 --- a/lib/music_library_web/live/collection_live/index.html.heex +++ b/lib/music_library_web/live/collection_live/index.html.heex @@ -2,7 +2,7 @@
<.search_form query={@record_list_params.query} /> -