summaryrefslogtreecommitdiff
path: root/app/views/nodes/edit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/nodes/edit.html.erb')
-rw-r--r--app/views/nodes/edit.html.erb14
1 files changed, 6 insertions, 8 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb
index 1c19410..13b78fc 100644
--- a/app/views/nodes/edit.html.erb
+++ b/app/views/nodes/edit.html.erb
@@ -45,14 +45,12 @@
45 <div class="node_description">parent</div> 45 <div class="node_description">parent</div>
46 <div class="node_content"> 46 <div class="node_content">
47 <%= text_field_tag :move_to_search_term, @node.parent.title rescue "" %> 47 <%= text_field_tag :move_to_search_term, @node.parent.title rescue "" %>
48 <div id="search_results"> 48 <div id="move_to_search_results" class="search_results"></div>
49 49 <%= f.hidden_field(
50 </div> 50 :staged_parent_id,
51 <%= f.hidden_field( 51 :value => @node.staged_parent_id || @node.parent_id
52 :staged_parent_id, 52 )
53 :value => @node.staged_parent_id || @node.parent_id 53 %>
54 )
55 %>
56 </div> 54 </div>
57 55
58 <%= fields_for @page do |d| %> 56 <%= fields_for @page do |d| %>