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

18 lines
307 B
Plaintext

<div>
<.link href={~p"/admin/notes/new"}>
Создать заметку
</.link>
<ul>
<%= for note <- @notes do %>
<li>
<.link href={~p"/admin/notes/#{note}"}>
<%= note.title %>
</.link>
<%= note.updated_at %>
</li>
<% end %>
</ul>
</div>