Commit 4c1bf77c authored by Douwe Maan's avatar Douwe Maan

Remove unneeded div

parent 9fc0e11e
...@@ -4,5 +4,4 @@ ...@@ -4,5 +4,4 @@
%td.notes_content %td.notes_content
%ul.notes{ data: { discussion_id: note.discussion_id } } %ul.notes{ data: { discussion_id: note.discussion_id } }
= render partial: "projects/notes/note", collection: notes, as: :note = render partial: "projects/notes/note", collection: notes, as: :note
.discussion-reply-holder = link_to_reply_discussion(note)
= link_to_reply_discussion(note)
...@@ -8,8 +8,7 @@ ...@@ -8,8 +8,7 @@
%ul.notes{ data: { discussion_id: note_left.discussion_id } } %ul.notes{ data: { discussion_id: note_left.discussion_id } }
= render partial: "projects/notes/note", collection: notes_left, as: :note = render partial: "projects/notes/note", collection: notes_left, as: :note
.discussion-reply-holder = link_to_reply_discussion(note_left, 'old')
= link_to_reply_discussion(note_left, 'old')
- else - else
%td.notes_line.old= "" %td.notes_line.old= ""
%td.notes_content.parallel.old= "" %td.notes_content.parallel.old= ""
...@@ -20,8 +19,7 @@ ...@@ -20,8 +19,7 @@
%ul.notes{ data: { discussion_id: note_right.discussion_id } } %ul.notes{ data: { discussion_id: note_right.discussion_id } }
= render partial: "projects/notes/note", collection: notes_right, as: :note = render partial: "projects/notes/note", collection: notes_right, as: :note
.discussion-reply-holder = link_to_reply_discussion(note_right, 'new')
= link_to_reply_discussion(note_right, 'new')
- else - else
%td.notes_line.new= "" %td.notes_line.new= ""
%td.notes_content.parallel.new= "" %td.notes_content.parallel.new= ""
...@@ -3,5 +3,4 @@ ...@@ -3,5 +3,4 @@
.notes{ data: { discussion_id: note.discussion_id } } .notes{ data: { discussion_id: note.discussion_id } }
%ul.notes.timeline %ul.notes.timeline
= render partial: "projects/notes/note", collection: discussion_notes, as: :note = render partial: "projects/notes/note", collection: discussion_notes, as: :note
.discussion-reply-holder = link_to_reply_discussion(note)
= link_to_reply_discussion(note)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment