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.2.7 app/views/carnival/shared/_report.pdf.haml
carnival-0.2.6 app/views/carnival/shared/_report.pdf.haml
carnival-0.2.5 app/views/carnival/shared/_report.pdf.haml
carnival-0.2.4 app/views/carnival/shared/_report.pdf.haml
carnival-0.2.3 app/views/carnival/shared/_report.pdf.haml
carnival-0.1.10 app/views/carnival/shared/_report.pdf.haml
carnival-0.2.2 app/views/carnival/shared/_report.pdf.haml
carnival-0.2.1 app/views/carnival/shared/_report.pdf.haml
carnival-0.2.0 app/views/carnival/shared/_report.pdf.haml
carnival-0.1.9 app/views/carnival/shared/_report.pdf.haml
carnival-0.1.8 app/views/carnival/shared/_report.pdf.haml
carnival-0.1.7 app/views/carnival/shared/_report.pdf.haml
carnival-0.1.6 app/views/carnival/shared/_report.pdf.haml
carnival-0.1.5 app/views/carnival/shared/_report.pdf.haml
carnival-0.1.3 app/views/carnival/shared/_report.pdf.haml
carnival-0.1.2 app/views/carnival/shared/_report.pdf.haml
carnival-0.1.1 app/views/carnival/shared/_report.pdf.haml
carnival-0.1.0 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.59 app/views/carnival/shared/_report.pdf.haml
carnival-0.0.58 app/views/carnival/shared/_report.pdf.haml