add inline forum editing

This commit is contained in:
albert
2013-02-17 14:12:31 -05:00
parent e8ba363b83
commit ff68644a2e
9 changed files with 21 additions and 7 deletions

View File

@@ -6,7 +6,7 @@
<h1>New Forum Post</h1>
<% end %>
<%= render "form" %>
<%= render "form", :forum_post => @forum_post %>
<%= error_messages_for "forum_post" %>
</div>
</div>