Sha256: 2c05df4d394fe7ddafdd83f0c1ec183b694654e3549cb07bccdf85586b418754

Contents?: true

Size: 508 Bytes

Versions: 6

Compression:

Stored size: 508 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? -%>
    <%= f.submit t('muck.comments.add_comment'), :class => "button comment-submit", :id => "comment_submit_#{parent.dom_id}" %>
  <% end -%>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
muck-comments-0.1.1 app/views/comments/_form.html.erb
muck-comments-0.1.2 app/views/comments/_form.html.erb
muck-comments-0.1.3 app/views/comments/_form.html.erb
muck-comments-0.1.4 app/views/comments/_form.html.erb
muck-comments-0.1.5 app/views/comments/_form.html.erb
muck-comments-0.1.6 app/views/comments/_form.html.erb