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