Sha256: c29c104bd498caa6c14c4b0b4948c0c5e9b3843238f0c5119d2558ea59f45e64
Contents?: true
Size: 682 Bytes
Versions: 10
Compression:
Stored size: 682 Bytes
Contents
- field_map = local_assigns[:field_map] || records_table_field_map %table.records %tbody - if collection.empty? %tr %td{:colspan => field_map[:fields].length + 1}= e9_t(:no_records_text) - else - collection.each do |record| %tr{:id => "ids_#{record.id}", :class => cycle('odd', 'even')} - field_map[:fields].each do |key, value| %td{:class => "record-#{key.to_s.dasherize}"} = value.respond_to?(:call) ? value.call(record) : record.send(key) %td.links - field_map[:links][record].each do |link| = link - if @controller.should_paginate_index = will_paginate collection
Version data entries
10 entries across 10 versions & 1 rubygems