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.
 
 
 
 
 

14 lines
405 B

<header class="hero">
<h1>Topic <%= @topic.text %></h1>
</header>
<section>
<%= for note <- @topic.notes do %>
<%= render MirageWeb.NoteView, "_note.html", assigns |> Map.put(:note, note) %>
<% end %>
</section>
<div class="buttons">
<%= link "Edit", to: Routes.topic_path(@conn, :edit, @topic), class: "button" %>
<%= link "Back", to: Routes.topic_path(@conn, :index), class: "button" %>
</div>