app/views/documents/new.rhtml in zena-0.16.9 vs app/views/documents/new.rhtml in zena-1.0.0.beta1
- old
+ new
@@ -1,5 +1,5 @@
-<div id='form_errors'><%= error_messages_for @node %></div>
+<div id='form_errors'><%= error_messages_for :node, :object => @node %></div>
<div id='search'><%= search_box %></div>
<div class='selector'>
<% (partial = form_tabs).each_index do |i| %><div id='<%= partial[i] %>_sel' <%= i == 0 ? "class='selected'" : "" %>><%= link_to_function(_(partial[i] + '_tab'), "Zena.select_tab('#{partial[i]}');") %></div><% end %>
</div>
\ No newline at end of file