From a4370735eb291766cb4ad5dd107bbe9f6809e322 Mon Sep 17 00:00:00 2001 From: Inhji Date: Tue, 9 May 2023 16:24:46 +0200 Subject: [PATCH] mix format --- lib/chiya_web/controllers/comment_html/index.html.heex | 2 +- lib/chiya_web/controllers/comment_html/show.html.heex | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/chiya_web/controllers/comment_html/index.html.heex b/lib/chiya_web/controllers/comment_html/index.html.heex index 01f9447..f791e13 100644 --- a/lib/chiya_web/controllers/comment_html/index.html.heex +++ b/lib/chiya_web/controllers/comment_html/index.html.heex @@ -17,7 +17,7 @@ Delete - <:action :let={comment}> + <:action :let={comment}>
<.link navigate={~p"/admin/comments/#{comment}/approve"}>Approve
diff --git a/lib/chiya_web/controllers/comment_html/show.html.heex b/lib/chiya_web/controllers/comment_html/show.html.heex index bf98b2b..962d56e 100644 --- a/lib/chiya_web/controllers/comment_html/show.html.heex +++ b/lib/chiya_web/controllers/comment_html/show.html.heex @@ -9,12 +9,14 @@ <.list> - <:item title="Name"><%= @comment.author_name %> + <:item title="Name"><%= @comment.author_name %> <:item title="Content"><%= @comment.content %> <:item title="Inserted at"><%= @comment.inserted_at %> <:item title="Approved at"><%= @comment.approved_at %> <:item title="Kind"><%= @comment.kind %> - <:item title="Note"><%= @comment.note.name %> + <:item title="Note"> + <%= @comment.note.name %> + <.back navigate={~p"/admin/comments"}>Back to comments