My space on the web https://inhji.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
353 B

<section class="hero">
<h1>Listing Notes</h1>
</section>
<section class="notes">
<%= for note <- @notes do %>
<%= render "_note.html", assigns |> Map.put(:note, note) %>
<% end %>
</section>
<%= if @current_user do %>
<div class="buttons">
<span><%= link "New Note", to: Routes.note_path(@conn, :new), class: "button" %></span>
</div>
<% end %>