_permission.haml revision 6d67b58472abc76a1d0d68a1d1fa32a45dc6626a
%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
%strong #{permission.subject_type}
= permission.subject
(#{permission.role})