Sha256: a827e8ec66540856932bae09d0e6e44d3a9719b4f722e6b217b2345e730eea8b
Contents?: true
Size: 653 Bytes
Versions: 2
Compression:
Stored size: 653 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| - unless field.hidden?(record, controller) - if ( @presenter.render_field?(field, :index)) = list_attr(@presenter, key,record, false).html_safe .col-md-2 = list_buttons(@presenter, record).try(:html_safe)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
carnival-0.3.2 | app/views/carnival/base_admin/_index_as_list.html.haml |
carnival-0.3.1 | app/views/carnival/base_admin/_index_as_list.html.haml |