blob: c280b5b53b73a7153eec0f3bfad777f2f561e8c2 (
plain)
1
2
3
4
5
6
|
- expanded = local_assigns.fetch(:expanded, discussion.expanded?)
%tr.notes_holder{class: ('hide' unless expanded)}
%td.notes_line{ colspan: 2 }
%td.notes_content
.content
= render "discussions/notes", discussion: discussion
|