diff --git a/lib/chiya_web/controllers/note_html/edit.html.heex b/lib/chiya_web/controllers/note_html/edit.html.heex
index bb40517..7823614 100644
--- a/lib/chiya_web/controllers/note_html/edit.html.heex
+++ b/lib/chiya_web/controllers/note_html/edit.html.heex
@@ -1,8 +1,14 @@
<.header>
- Edit Note <%= @note.id %>
- <:subtitle>Use this form to manage note records in your database.
+ <%= @note.name %>
+ <:actions>
+ <.link href={~p"/admin/notes/#{@note.id}"}>
+ <.button><.icon name="hero-arrow-left" /> Back to Note
+
+
+
+
<.note_form
changeset={@changeset}
action={~p"/admin/notes/#{@note}"}
diff --git a/lib/chiya_web/controllers/note_html/note_form.html.heex b/lib/chiya_web/controllers/note_html/note_form.html.heex
index d853c62..f176af6 100644
--- a/lib/chiya_web/controllers/note_html/note_form.html.heex
+++ b/lib/chiya_web/controllers/note_html/note_form.html.heex
@@ -2,8 +2,14 @@
<.error :if={@changeset.action}>
Oops, something went wrong! Please check the errors below.
- <.input field={f[:name]} type="text" label="Name" />
- <.input field={f[:content]} type="textarea" label="Content" rows="15" />
+
+ <.input field={f[:name]} type="text" />
+ <.input field={f[:content]}
+ type="textarea"
+ label="Content"
+ rows="15"
+ class="font-mono"
+ />
<.input field={f[:slug]} type="text" label="Slug" />
<.input field={f[:published_at]} type="datetime-local" label="Published at" />
<.input