Update the DBIserver form to update the sync_on.
This commit is contained in:
@@ -16,11 +16,9 @@ defmodule DecentralisedBookIndexWeb.DbiServerLive.FormComponent do
|
|||||||
phx-change="validate"
|
phx-change="validate"
|
||||||
phx-submit="save"
|
phx-submit="save"
|
||||||
>
|
>
|
||||||
<.input field={@form[:name]} type="text" label="Name" /><.input
|
<.input field={@form[:name]} type="text" label="Name" />
|
||||||
field={@form[:url]}
|
<.input field={@form[:url]} type="text" label="Url" />
|
||||||
type="text"
|
<.input field={@form[:sync_on?]} type="checkbox" label="Sync on" />
|
||||||
label="Url"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<:actions>
|
<:actions>
|
||||||
<.save_button phx-disable-with="Saving...">
|
<.save_button phx-disable-with="Saving...">
|
||||||
|
|||||||
Reference in New Issue
Block a user