app/views/admin/posts/new.html.erb in tb_blog-1.3.1 vs app/views/admin/posts/new.html.erb in tb_blog-1.3.2
- old
+ new
@@ -1,3 +1,3 @@
-<%= form_for @post, :url => admin_posts_path, :html => {:class => 'form-horizontal'} do |f| %>
+<%= tb_form_for @post, :url => admin_posts_path, :html => {:class => 'form-horizontal'}, :remote => true, :data => {:errors => :inline, :success => admin_posts_path} do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
-<% end %>
\ No newline at end of file
+<% end %>