Sha256: de0f33324681e7c4b1222063f08f4a9e286a40dd2300d53ff6a3c3c305d18ef4

Contents?: true

Size: 588 Bytes

Versions: 15

Compression:

Stored size: 588 Bytes

Contents

%ul{params}
  - @records.each do |record|
    %li.carnival-list-item
      .row
        -if presenter.has_batch_actions?
          .col-md-1
            =check_box_tag(:batch_action_item, record.id, false, class: 'batch_action_items')
        %div{class: "#{presenter.has_batch_actions? ? 'col-md-9' : 'col-md-10' }"}
          - @presenter.fields_for_action(:index).each do |key, field|
            - if ( @presenter.render_field?(field, :index))
              = list_attr(@presenter, key,record, false).html_safe
        .col-md-2
          = list_buttons(@presenter, record).html_safe

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
carnival-0.3.0 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.2.8 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.2.7 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.2.6 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.2.5 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.2.4 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.2.3 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.1.10 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.2.2 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.2.1 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.2.0 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.1.9 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.1.8 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.1.7 app/views/carnival/base_admin/_index_as_list.html.haml
carnival-0.1.6 app/views/carnival/base_admin/_index_as_list.html.haml