Title | Content | Tag | Visibility | |
---|---|---|---|---|
<%= note.title %> | <%= note.content %> | <%= note.tag %> | <%= note.visibility %> | <%= live_redirect("Show", to: Routes.note_show_path(@socket, :show, note)) %> <%= live_patch("Edit", to: Routes.note_index_path(@socket, :edit, note)) %> <%= link("Delete", to: "#", phx_click: "delete", phx_value_id: note.id, data: [confirm: "Are you sure?"] ) %> |