Sha256: f832340bbc702eb2f22633ba57ed53e44103f128a8d6813089fcfe9d28167cf3

Contents?: true

Size: 667 Bytes

Versions: 3

Compression:

Stored size: 667 Bytes

Contents

%table
  %tr
    %th
    - resource_admin_config.attributes_index.each do |attr|
      %th= sort_link(@q, attr)
    %th Actions
  - @resources.each do |resource|
    %tr{onClick: 'Adminsite.selectedRow(this);'}
      %td.resource_selection_cell
        = check_box_tag 'collection_selection[]', resource.id, false, :class => 'collection_selection'
      - resource_admin_config.attributes_index.each do |attr|
        = display_resource_value(resource, attr)
      %td.actions
        %ul
          - resource_admin_config.default_member_actions(resource).each do |action|
            %li= send("link_to_#{action}", resource)

= paginate(@resources, :window => 2)
%br

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adminsite-2.1.2 app/views/adminsite/admin/resources/_list.haml
adminsite-2.1.1 app/views/adminsite/admin/resources/_list.haml
adminsite-2.1.0 app/views/adminsite/admin/resources/_list.haml