Add the update action and the form for Publisher.

This commit is contained in:
2025-04-15 10:05:04 +03:00
parent 12c805c0bf
commit 6886a1b5d2
2 changed files with 7 additions and 1 deletions
@@ -20,6 +20,7 @@ defmodule DecentralisedBookIndexWeb.PublisherLive.FormComponent do
<.input field={@form[:name]} type="text" label="Name" />
<% end %>
<%= if @form.source.type == :update do %>
<.input field={@form[:name]} type="text" label="Name" />
<% end %>
<:actions>