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.57 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.56 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.55 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.54 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.53 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.52 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.51 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.50 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.49 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.48 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.47 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.45 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.44 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.43 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.42 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.41 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.40 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.39 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.38 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.37 app/views/carnival/shared/_report.pdf.haml