My space on the web
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.

26 lines
677 B

<%= link to: Routes.live_path(@conn, MirageWeb.ShowNoteLive, @note) do %>
<header class="width-full bg-content">
<h2 class="title">
<span class="id"><%= "##{}" %></span> <%= @note.title %>
<% end %>
<div class="content html width-full bg-content">
<%= raw @note.content_html %>
<footer class="width-full bg-content">
<time datetime="<%= @note.inserted_at %>"><%= Timex.from_now(@note.inserted_at) %></time>
<span class="tags">
<%= for topic <- @note.topics do %>
<span class="tag"><%= topic.text %></span>
<% end %>