Listing Links

<%= if @live_action in [:new, :edit] do %> <%= live_modal @socket, EntenduWeb.LinkLive.FormComponent, id: @link.id || :new, title: @page_title, action: @live_action, link: @link, return_to: Routes.link_index_path(@socket, :index) %> <% end %> <%= for link <- @links do %> <% end %>
Expires Burn after reading
<%= live_patch "New Link", to: Routes.link_index_path(@socket, :new) %>