From 2c8cd5bc3ee926a9608726b126b4fc4b1d9b75d9 Mon Sep 17 00:00:00 2001 From: Andreas N Date: Sat, 27 Dec 2014 02:29:57 +0100 Subject: [PATCH] fix broken dropdown --- app/views/shared/_answerbox_buttons.html.haml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/shared/_answerbox_buttons.html.haml b/app/views/shared/_answerbox_buttons.html.haml index 2c22b690..18a7c25c 100644 --- a/app/views/shared/_answerbox_buttons.html.haml +++ b/app/views/shared/_answerbox_buttons.html.haml @@ -22,11 +22,11 @@ %span.caret %ul.dropdown-menu{role: :menu} - if privileged? a.user - %a{href: '#', name: 'ab-destroy', data: { a_id: a.id }} - %li.text-danger + %li.text-danger + %a{href: '#', name: 'ab-destroy', data: { a_id: a.id }} %i.fa.fa-trash-o Delete - %a{href: '#', name: 'ab-report', data: { a_id: a.id }} %li - %i.fa.fa-exclamation-triangle - Report \ No newline at end of file + %a{href: '#', name: 'ab-report', data: { a_id: a.id }} + %i.fa.fa-exclamation-triangle + Report \ No newline at end of file