fixes #1424 for comments

This commit is contained in:
Toks
2013-06-14 12:23:10 -04:00
parent 5fa931f148
commit 739da4c4b9
3 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
<%= simple_form_for(comment) do |f| %>
<%= dtext_field "comment", "body", :value => comment.body, :input_id => "comment_body_for_#{comment.id}", :preview_id => "dtext-preview-for-#{comment.id}" %>
<%= f.button :submit, "Submit" %>
<%= dtext_preview_button "comment", "body", :input_id => "comment_body_for_#{comment.id}", :preview_id => "dtext-preview-for-#{comment.id}" %>
<% end %>