summaryrefslogtreecommitdiff
path: root/app/views/nodes/new.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/nodes/new.html.erb')
-rw-r--r--app/views/nodes/new.html.erb14
1 files changed, 12 insertions, 2 deletions
diff --git a/app/views/nodes/new.html.erb b/app/views/nodes/new.html.erb
index 42583776..12074132 100644
--- a/app/views/nodes/new.html.erb
+++ b/app/views/nodes/new.html.erb
@@ -1,2 +1,12 @@
1<h1>Nodes#new</h1> 1<h1>Create new node</h1>
2<p>Find me in app/views/nodes/new.html.erb</p> 2
3<% form_for @node do |f| %>
4 <p>
5 <%= f.label 'Parent node' %><br />
6 <%= text_field_tag :parent_unique_name %>
7 </p>
8 <p>
9 <%= f.label :slug %><br />
10 <%= f.text_field :slug %>
11 </p>
12<% end %> \ No newline at end of file