use full markdown editor for comments

This commit is contained in:
jomo
2015-01-26 00:20:21 +01:00
parent 46de6dddf3
commit f0c0c1c20e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<h3>New comment</h3>
<%= form_for [@post, @comment] do |f| %>
<%= render partial: "md_editor", locals: {name: "comment[content]", content: @comment.content, mini: true} %>
<%= render partial: "md_editor", locals: {name: "comment[content]", content: @comment.content, mini: false} %>
<p><%= f.submit class: "btn blue" %></p>
<% end %>