you can report yourself anymore

This commit is contained in:
Andreas N 2015-01-02 00:38:59 +01:00
parent 26f21f8e97
commit ed9c7e945d

View file

@ -26,7 +26,8 @@
%a{href: '#', data: { a_id: a.id, action: 'ab-destroy' }} %a{href: '#', data: { a_id: a.id, action: 'ab-destroy' }}
%i.fa.fa-trash-o %i.fa.fa-trash-o
Delete Delete
%li - unless a.user == current_user
%a{href: '#', data: { a_id: a.id, action: 'ab-report' }} %li
%i.fa.fa-exclamation-triangle %a{href: '#', data: { a_id: a.id, action: 'ab-report' }}
Report %i.fa.fa-exclamation-triangle
Report