Commit 0feb1668 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

Correct 'report as abuse' nesting in _more_actions_dropdown.html.haml

parent 4cc175f8
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
%li %li
= button_tag 'Edit comment', class: 'js-note-edit btn btn-transparent' = button_tag 'Edit comment', class: 'js-note-edit btn btn-transparent'
%li.divider %li.divider
- if current_user != note.author - if current_user != note.author
%li %li
= link_to new_abuse_report_path(user_id: note.author.id, ref_url: noteable_note_url(note)) do = link_to new_abuse_report_path(user_id: note.author.id, ref_url: noteable_note_url(note)) do
Report as abuse Report as abuse
- if note_editable - if note_editable
%li %li
= link_to note_url(note), method: :delete, data: { confirm: 'Are you sure you want to delete this comment?' }, remote: true, class: 'js-note-delete' do = link_to note_url(note), method: :delete, data: { confirm: 'Are you sure you want to delete this comment?' }, remote: true, class: 'js-note-delete' do
......
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