Sha256: 6f2cb4c7cc6ae91a3b3021534f6d7e2bedb50309cdf261d33f6c42f18c90f048
Contents?: true
Size: 607 Bytes
Versions: 58
Compression:
Stored size: 607 Bytes
Contents
- if @item_iteration.first? %table.table.table-striped.table-hover.table-fixed_header{ id: @id}/ - if @headers %thead %tr - @builder.field_blocks.each do |field_block| %th{ class: field_block.alignment } - if field_block.key.present? = I18n.t(['activerecord.attributes', @item.class.name.underscore, field_block.key].join('.')) %tbody/ %tr - @builder.field_blocks.each do |field_block| %td{ class: field_block.alignment } = capture do - instance_exec(@item, &field_block.block) - if @item_iteration.last? </tbody> </table>
Version data entries
58 entries across 58 versions & 1 rubygems