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