Sha256: ac9a01aa0c168dc1c8064cdf3a8e8784b04e94648b3cdf695079ae8f411266f5

Contents?: true

Size: 539 Bytes

Versions: 10

Compression:

Stored size: 539 Bytes

Contents

%table.records
  %thead
    %tr
      %th= resource_class.human_attribute_name(:name)
      %th= e9_t(:actions)
  %tbody
    - if collection.empty?
      %tr
        %td{:colspan => 2}= e9_t(:no_records_text)
    - else
      - collection.each do |record|
        %tr{:id => "ids_#{record.id}", :class => cycle('odd', 'even')}
          %td.text
            = record.name
          %td.links
            = poll_results_link(record)
            = e9_polls_resource_link(:edit, record)
            = e9_polls_resource_link(:destroy, record)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
e9_polls-1.0.10 app/views/e9_polls/polls/_table.html.haml
e9_polls-1.0.9 app/views/e9_polls/polls/_table.html.haml
e9_polls-1.0.8 app/views/e9_polls/polls/_table.html.haml
e9_polls-1.0.7 app/views/e9_polls/polls/_table.html.haml
e9_polls-1.0.6 app/views/e9_polls/polls/_table.html.haml
e9_polls-1.0.5 app/views/e9_polls/polls/_table.html.haml
e9_polls-1.0.4 app/views/e9_polls/polls/_table.html.haml
e9_polls-1.0.3 app/views/e9_polls/polls/_table.html.haml
e9_polls-1.0.2 app/views/e9_polls/polls/_table.html.haml
e9_polls-1.0.1 app/views/e9_polls/polls/_table.html.haml