22 lines
677 B
Text
22 lines
677 B
Text
<.header>
|
|
Comment <%= @comment.id %>
|
|
<:subtitle>This is a comment record from your database.</:subtitle>
|
|
<:actions>
|
|
<.link href="#">
|
|
<.button>Approve note</.button>
|
|
</.link>
|
|
</:actions>
|
|
</.header>
|
|
|
|
<.list>
|
|
<:item title="Name"><%= @comment.author_name %></:item>
|
|
<:item title="Content"><%= @comment.content %></:item>
|
|
<:item title="Inserted at"><%= @comment.inserted_at %></:item>
|
|
<:item title="Approved at"><%= @comment.approved_at %></:item>
|
|
<:item title="Kind"><%= @comment.kind %></:item>
|
|
<:item title="Note">
|
|
<a href="#"><%= @comment.note.name %></a>
|
|
</:item>
|
|
</.list>
|
|
|
|
<.back navigate={~p"/admin/comments"}>Back to comments</.back>
|