Sha256: 79fe5f548a1693f885c619d265bcd9d3947257953ac93b1ec853c150c79a879e
Contents?: true
Size: 597 Bytes
Versions: 12
Compression:
Stored size: 597 Bytes
Contents
- if @item_iteration.first? %table.table.table-striped.table-hover.table-fixed_header/ - 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
12 entries across 12 versions & 1 rubygems