Archived
Add markdown preview; fix bug with deleted editor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%= form_for [reply.thread, reply] do |f| %>
|
||||
<%= f.text_area :content, placeholder: "Text" %>
|
||||
<%= render partial: "md_editor", locals: {name: "threadreply[content]", content: reply.content, mini: false} %>
|
||||
<p><%= f.submit "Reply", class: "btn blue" %></p>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user