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>
<:actions>
<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")}
</.button>
</Fluxon.Components.Button.button>
</div>
</:actions>
</.simple_form>