summaryrefslogtreecommitdiff
path: root/app/views/discussions/_diff_discussion.html.haml
blob: e6d307e5568c6495c00c67c795c333840109ccd9 (plain)
1
2
3
4
5
6
- expanded = local_assigns.fetch(:expanded, true)
%tr.notes_holder{ class: ('hide' unless expanded) }
  %td.notes_line{ colspan: 2 }
  %td.notes_content
    .content{ class: ('hide' unless expanded) }
      = render partial: "discussions/notes", collection: discussions, as: :discussion