Expires | Burn after reading | |
---|---|---|
<%= link.expires %> | <%= link.burn_after_reading %> | <%= live_redirect "Show", to: Routes.link_show_path(@socket, :show, link) %> <%= live_patch "Edit", to: Routes.link_index_path(@socket, :edit, link) %> <%= link "Delete", to: "#", phx_click: "delete", phx_value_id: link.id, data: [confirm: "Are you sure?"] %> |