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-submit="save"
|
||||
>
|
||||
<.input field={@form[:name]} type="text" label="Name" /><.input
|
||||
field={@form[:url]}
|
||||
type="text"
|
||||
label="Url"
|
||||
/>
|
||||
<.input field={@form[:name]} type="text" label="Name" />
|
||||
<.input field={@form[:url]} type="text" label="Url" />
|
||||
<.input field={@form[:sync_on?]} type="checkbox" label="Sync on" />
|
||||
|
||||
<:actions>
|
||||
<.save_button phx-disable-with="Saving...">
|
||||
|
||||
Reference in New Issue
Block a user