Sha256: 45d6846ca1e451460dfd0fa20f16cffbc7be1f85eed052d63de3a795d97e15b2

Contents?: true

Size: 601 Bytes

Versions: 4

Compression:

Stored size: 601 Bytes

Contents

<div id="<%= parent.dom_id %>_new_comment" class="comment-form-wrapper">
  <%= form_for(:comment, :url => new_comment_path_with_parent(parent), :html => { :id => "#{parent.dom_id}_comment_form", :class => "comment-form"} ) do |f| -%>
    <%= f.text_area :body, :class => 'min' %>
    <%= hidden_field_tag :parent_comment_id, comment.id unless comment.blank? -%>
    <%= hidden_field_tag :render_new, render_new -%>
    <%= f.submit comment_button_text || t('muck.comments.add_comment_button'), :class => "button #{comment_button_class}", :id => "comment_submit_#{parent.dom_id}" %>
  <% end -%>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
muck-comments-3.2.0 app/views/comments/_form.erb
muck-comments-3.1.0 app/views/comments/_form.erb
muck-comments-3.0.2 app/views/comments/_form.erb
muck-comments-3.0.1 app/views/comments/_form.erb