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..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,9 +1,25 @@ <.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 + +
+ <%= for note <- @notes do %> +
+
+

+ <%= note.name %> +

+
+ +
+ <% end %> +
\ No newline at end of file