2016-09-13 17:45:13 +05:30
|
|
|
- expanded = local_assigns.fetch(:expanded, true)
|
2017-08-17 22:00:37 +05:30
|
|
|
%tr.notes_holder{ class: ('hide' unless expanded) }
|
2016-09-13 17:45:13 +05:30
|
|
|
%td.notes_line{ colspan: 2 }
|
|
|
|
%td.notes_content
|
2017-08-17 22:00:37 +05:30
|
|
|
.content{ class: ('hide' unless expanded) }
|
|
|
|
= render partial: "discussions/notes", collection: discussions, as: :discussion
|