From 392bdf9ca37135cd334c9832df242acea69263f1 Mon Sep 17 00:00:00 2001 From: inhji Date: Tue, 12 Sep 2023 09:15:29 +0200 Subject: [PATCH 1/2] lib/chiya_web/controllers/tag_html/apply_prepare.html.heex aktualisiert --- .../controllers/tag_html/apply_prepare.html.heex | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lib/chiya_web/controllers/tag_html/apply_prepare.html.heex b/lib/chiya_web/controllers/tag_html/apply_prepare.html.heex index e98aeb1..8855b6b 100644 --- a/lib/chiya_web/controllers/tag_html/apply_prepare.html.heex +++ b/lib/chiya_web/controllers/tag_html/apply_prepare.html.heex @@ -7,3 +7,19 @@ + +
+ <%= for note <- @notes do %> +
+
+

+ <%= note.name %> +

+
+
+ Updated <%= from_now(note.updated_at) %> + Published <%= from_now(note.published_at) %> +
+
+ <% end %> +
\ No newline at end of file From 611298e105357f5fe4126103fca8158614a21b00 Mon Sep 17 00:00:00 2001 From: inhji Date: Tue, 12 Sep 2023 09:15:57 +0200 Subject: [PATCH 2/2] lib/chiya_web/controllers/tag_html/apply_prepare.html.heex aktualisiert --- lib/chiya_web/controllers/tag_html/apply_prepare.html.heex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chiya_web/controllers/tag_html/apply_prepare.html.heex b/lib/chiya_web/controllers/tag_html/apply_prepare.html.heex index 8855b6b..22d8dcf 100644 --- a/lib/chiya_web/controllers/tag_html/apply_prepare.html.heex +++ b/lib/chiya_web/controllers/tag_html/apply_prepare.html.heex @@ -1,6 +1,6 @@ <.header> - Apply Tag <%= @tag.id %> - <:subtitle>This is a tag record from your database. + Apply Tag <%= @tag.name %> + <:subtitle>These notes will get the tag. <:actions> <.link href={~p"/admin/tags/#{@tag}/apply"}> <.button>Apply tag