Sha256: e3daa51b33ae8afc54742eb7047289a1d828c0df2d99a71f470d7c06ecadcf62

Contents?: true

Size: 457 Bytes

Versions: 12

Compression:

Stored size: 457 Bytes

Contents

<% if @perm.grantee.kind_of? Role -%>
  <%= image_tag "ae_users/group.png" %>
<% elsif @perm.grantee.kind_of? Person -%>
  <%= image_tag "ae_users/user.png" %>
<% end -%>
<%= h(@perm.grantee.name) %>
            <%= link_to_remote "Remove",
                { :url => { :controller => "permission", :action => "revoke", :id => @perm.id },
                :success => "$('grant_#{@perm.id}').remove();" },
                { :class => "permission_action" } %>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
ae_users_legacy-0.6.14 app/views/permission/grant.rhtml
ae_users_legacy-0.6.13 app/views/permission/grant.rhtml
ae_users_legacy-0.6.12 app/views/permission/grant.rhtml
ae_users_legacy-0.6.11 app/views/permission/grant.rhtml
ae_users_legacy-0.6.10 app/views/permission/grant.rhtml
ae_users_legacy-0.6.9 app/views/permission/grant.rhtml
ae_users_legacy-0.6.8 app/views/permission/grant.rhtml
ae_users_legacy-0.6.7 app/views/permission/grant.rhtml
ae_users_legacy-0.6.6 app/views/permission/grant.rhtml
ae_users_legacy-0.6.5 app/views/permission/grant.rhtml
ae_users_legacy-0.6.3 app/views/permission/grant.rhtml
ae_users-0.6.0 app/views/permission/grant.rhtml