Sha256: 47f7aaed3043d88a95be178c5955a2f60c60147efbbed9f25c30a343cf5022cf

Contents?: true

Size: 640 Bytes

Versions: 47

Compression:

Stored size: 640 Bytes

Contents

- model_name = presenter.model_name

:javascript
  $(document).ready(function(){
    datatable_list('table', []);
  });

%h1= t("#{model_name}.list")

%table{:class => 'table'}
  %thead
    %tr
      - presenter.fields_for_action(:pdf).each do |key, field|
        %th= t("#{model_name}.#{field.name}")
      %th{:style => 'width: 20px;'}

  %tbody
    - items.each do |item|
      %tr{:id => "item#{item.id}", :class => 'more-click hiddenn'}
        - presenter.fields_for_action(:pdf).each do |key, field|
          = render '/carnival/shared/list_cel', :field=> key, :record=> item, :only_render_fields => false, :presenter => presenter

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
carnival-0.0.36 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.35 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.34 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.33 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.26 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.11 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.10 app/views/carnival/shared/_report.pdf.haml