Use Fluxon buttons in form component

This commit is contained in:
Claudio Ortolina
2025-05-12 17:07:00 +01:00
parent b51f7c5960
commit ae5af2dab7
@@ -114,9 +114,13 @@ defmodule MusicLibraryWeb.FormComponent do
</div> </div>
<:actions> <:actions>
<div class="w-full md:flex md:justify-center"> <div class="w-full md:flex md:justify-center">
<.button class="w-full md:w-auto" phx-disable-with={gettext("Saving...")}> <Fluxon.Components.Button.button
variant="solid"
class="w-full md:w-auto"
phx-disable-with={gettext("Saving...")}
>
{gettext("Save")} {gettext("Save")}
</.button> </Fluxon.Components.Button.button>
</div> </div>
</:actions> </:actions>
</.simple_form> </.simple_form>