Title | Content | Tag | Visibility | |
---|---|---|---|---|
<%= note.title %> | <%= note.content %> | <%= note.tag %> | <%= note.visibility %> | <.link navigate={Routes.note_show_path(@socket, :show, note)}> <%= dgettext("actions", "Show") %> <.link patch={Routes.note_index_path(@socket, :edit, note)}> <%= dgettext("actions", "Edit") %> <.link href="#" phx-click="delete" phx-value-id={note.id} data-confirm={dgettext("prompts", "Are you sure?")} > <%= dgettext("actions", "Delete") %> |