improve blog comment replies

This commit is contained in:
jomo
2014-10-12 21:54:32 +02:00
parent 36792c6dc1
commit 5fcde67040
3 changed files with 19 additions and 7 deletions

View File

@@ -1,7 +1,5 @@
<% if current_user %>
<h3>New comment</h3>
<%= form_for [@post, @comment] do |f| %>
<%= render partial: "md_editor", locals: {name: "comment[content]", content: @comment.content, mini: true} %>
<p><%= f.submit class: "btn blue" %></p>
<% end %>
<h3>New comment</h3>
<%= form_for [@post, @comment] do |f| %>
<%= render partial: "md_editor", locals: {name: "comment[content]", content: @comment.content, mini: true} %>
<p><%= f.submit class: "btn blue" %></p>
<% end %>