Use Fluxon buttons in form component
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user