aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/app/views/posts/edit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'guides/code/getting_started/app/views/posts/edit.html.erb')
-rw-r--r--guides/code/getting_started/app/views/posts/edit.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/guides/code/getting_started/app/views/posts/edit.html.erb b/guides/code/getting_started/app/views/posts/edit.html.erb
new file mode 100644
index 0000000000..720580236b
--- /dev/null
+++ b/guides/code/getting_started/app/views/posts/edit.html.erb
@@ -0,0 +1,6 @@
+<h1>Editing post</h1>
+
+<%= render 'form' %>
+
+<%= link_to 'Show', @post %> |
+<%= link_to 'Back', posts_path %>