app/views/pulitzer/posts/_new.html.erb in pulitzer-0.15.12 vs app/views/pulitzer/posts/_new.html.erb in pulitzer-0.15.13
- old
+ new
@@ -1,5 +1,6 @@
-<%= form_for post, html: ajax_form_hash('#posts_container', insert_method: 'prepend', sub_class: "AddALineForm", container: '#new_post') do |f| %>
+<%= render 'pulitzer/shared/error_messages', object: post %>
+<%= form_for post, html: ajax_form_hash('#posts_container', insert_method: 'prepend', error_target: '#new_post') do |f| %>
<%= f.label :title %>
<%= f.text_field :title %>
<%= f.hidden_field :post_type_version_id %>
<%= f.submit %>
<%= link_to('Cancel', '#', :class => 'button',