_permission.haml revision 1a8a633bc99000243a729326dfb06dd228e24029
%li{'data-id' => permission.subject_id, 'data-type' => permission.subject_type, 'data-role' => permission.role, 'data-uri' => url_for([permission.item, permission]) }
.functions
= link_to 'edit', '#', rel: :edit
= link_to 'delete', '#', rel: :delete
= link_to permission.subject, permission.subject
(#{permission.role})