comfycamp/lib/comfycamp_web/controllers/notes_html/index.html.heex
2024-07-29 18:07:44 +05:00

13 lines
224 B
Plaintext

<div>
<h1>Заметки</h1>
<%= for note <- @notes do %>
<div>
<.link href={~p"/notes/#{note}"}>
<h2><%= note.title %></h2>
</.link>
<%= note.inserted_at %>
</div>
<% end %>
</div>