<%= f.input :text %>

<% if params[:reply_to_id] %>
  <%= f.hidden_field :reply_to_id, :value => params[:reply_to_id] %>
<% end %>

<div class="control-group">
  <%= f.label :text, :class => 'control-label' %>
  <div class="controls">
    <%= f.input :text , label: false, input_html: {:class => 'text_area span7 html-editor'} %>
  </div>
</div>

<% if params[:reply_to_id] %>
  <%= f.hidden_field :reply_to_id, :value => params[:reply_to_id] %>
<% end %>

Use HTML5 wysiwyg editor for forum posts
Use HTML5 wysiwyg editor for forum posts
