2024-07-29 16:19:47 +05:00
|
|
|
<div>
|
2024-07-29 18:07:44 +05:00
|
|
|
<h1>Заметки</h1>
|
2024-07-29 16:19:47 +05:00
|
|
|
|
2024-07-29 18:07:44 +05:00
|
|
|
<%= for note <- @notes do %>
|
|
|
|
<div>
|
|
|
|
<.link href={~p"/notes/#{note}"}>
|
|
|
|
<h2><%= note.title %></h2>
|
|
|
|
</.link>
|
|
|
|
<%= note.inserted_at %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2024-07-29 16:19:47 +05:00
|
|
|
</div>
|