Consolidate Fluxon button usage via CoreComponents

This commit is contained in:
Claudio Ortolina
2025-05-12 17:13:04 +01:00
parent 7733022cb0
commit 8890c78913
5 changed files with 19 additions and 27 deletions
@@ -114,13 +114,9 @@ defmodule MusicLibraryWeb.FormComponent do
</div>
<:actions>
<div class="w-full md:flex md:justify-center">
<Fluxon.Components.Button.button
variant="solid"
class="w-full md:w-auto"
phx-disable-with={gettext("Saving...")}
>
<.button variant="solid" class="w-full md:w-auto" phx-disable-with={gettext("Saving...")}>
{gettext("Save")}
</Fluxon.Components.Button.button>
</.button>
</div>
</:actions>
</.simple_form>