diff --git a/app/views/shared/_answerbox_buttons.html.haml b/app/views/shared/_answerbox_buttons.html.haml index e83389e1..bfde2a68 100644 --- a/app/views/shared/_answerbox_buttons.html.haml +++ b/app/views/shared/_answerbox_buttons.html.haml @@ -26,7 +26,8 @@ %a{href: '#', data: { a_id: a.id, action: 'ab-destroy' }} %i.fa.fa-trash-o Delete - %li - %a{href: '#', data: { a_id: a.id, action: 'ab-report' }} - %i.fa.fa-exclamation-triangle - Report \ No newline at end of file + - unless a.user == current_user + %li + %a{href: '#', data: { a_id: a.id, action: 'ab-report' }} + %i.fa.fa-exclamation-triangle + Report \ No newline at end of file