Sha256: e53799e5077d741a93e2e89cc07f56ce6efbf34745f28b8c3b10beb7b21f111d

Contents?: true

Size: 507 Bytes

Versions: 27

Compression:

Stored size: 507 Bytes

Contents

%ul.ace{:id=>resource.element_id}
  %li= resource.user.email if resource.user
  %li= resource.role.name if resource.role
  %li= resource.can ? "Can" : "Cannot"
  %li= resource.verb
  %li= resource.resource_class_name
  %li= resource.options_str if resource.options_str
  - if can? :edit, resource
    %li= link_to "Edit", edit_access_control_entry_path(resource), :remote=>true
  - if can? :destroy, resource
    %li= link_to "X", resource, :method=>:delete, :remote=>true, "data-confirm"=>"Are you sure?"

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
wheels-0.0.28 app/views/access_control_entries/_show.html.haml
wheels-0.0.27 app/views/access_control_entries/_show.html.haml
wheels-0.0.26 app/views/access_control_entries/_show.html.haml
wheels-0.0.25 app/views/access_control_entries/_show.html.haml
wheels-0.0.24 app/views/access_control_entries/_show.html.haml
wheels-0.0.23 app/views/access_control_entries/_show.html.haml
wheels-0.0.22 app/views/access_control_entries/_show.html.haml