Add item visibility toggle
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
<.input field={@form[:url]} type="text" label="Url" />
|
||||
<.input field={@form[:image_url]} type="text" label="Image URL" />
|
||||
<.input field={@form[:desire]} type="number" label="Desire" />
|
||||
<.input field={@form[:visible]} type="checkbox" label="Visible?" />
|
||||
<:actions>
|
||||
<.button phx-disable-with="Saving...">Save Item</.button>
|
||||
</:actions>
|
||||
|
||||
Reference in New Issue
Block a user