Sha256: c9136f0727417fc2d8fa4fe31fdde631f865db0097602460845e45fa7d689e45
Contents?: true
Size: 936 Bytes
Versions: 4
Compression:
Stored size: 936 Bytes
Contents
= paginate @comments %ol.comments_list - @comments.each do |comment| %li .item{ class: comment.state } .body = render partial: 'the_comments/comment_body', locals: { comment: comment } .form.comment{ style: 'display:none' } = form_for comment, remote: true do |f| .commentable = comment.commentable_type → = link_to comment.commentable_title, comment.commentable_url .title %label from: = f.text_field :title .contacts %label contacts: = f.text_field :contacts .content = f.text_area :raw_content .submit = f.submit .controls = link_to :View, '#', class: :view = render partial: 'the_comments/manage_controls', locals: { comment: comment } = paginate @comments
Version data entries
4 entries across 4 versions & 1 rubygems