diff --git a/lib/chiya_web/controllers/page_html/note.html.heex b/lib/chiya_web/controllers/page_html/note.html.heex index 3bf35b2..ab21d5b 100644 --- a/lib/chiya_web/controllers/page_html/note.html.heex +++ b/lib/chiya_web/controllers/page_html/note.html.heex @@ -5,9 +5,9 @@

<%= if @note.published_at do %> - Published + Published <% else %> - Unpublished + Unpublished <% end %> ยท @@ -55,20 +55,20 @@ <.line />

<%= Enum.count(@note.comments) %> Comments

- + <% end %> - + <.line /> <.simple_form :let={f} for={@changeset} action={~p"/#{@note.slug}/comment"}> @@ -76,11 +76,10 @@ Oops, something went wrong! Please check the errors below. <.input field={f[:author_name]} type="text" placeholder="Name" /> - <.input field={f[:content]} type="textarea" placeholder="Content" rows="3" /> + <.input field={f[:content]} type="textarea" placeholder="Content" rows="3" /> <.input field={f[:note_id]} type="hidden" /> <:actions> <.button>Submit Comment -