Sha256: bf8fc36c574d2b54051a1807d9343afdea266e147f7ac08f5897e1c741511544

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

- if @model and partials.show?(:comments)
  - b.discussion do |o|
    - o.controls do |a|
      - a.add link_to(t(:comment_it), new_comment_path(item_id: @model, format: :js), method: :get) if can? :create_comment

    - o.content do
      - @model.comments.each do |comment|
        = render '/controllers/comments/embedded', object: comment

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rad_kit-0.0.10 app/views/kit/aspects/_comments.html.haml