<% if current_user %>

New comment

<%= form_for [@post, @comment] do |f| %> <%= render partial: "mdhelp" %> <%= f.text_area :content, placeholder: "Comment", class: "comment" %>

<%= f.submit class: "btn blue" %>

<% end %> <% end %>