Skip to content
jorahood edited this page Sep 12, 2010 · 1 revision
Attribute Description Default Value Example
fields attributes to put in columns nil fields=“name,created_at”
field-tag DRYML for each cell <view> field-tag=“a”
empty table contains no data nil empty=“true”
Parameter Tag Description Default Content
thead <thead> table head field-heading-row param
field-heading-row <tr> custom heading row #{scope.field_name}-heading param
#{scope.field_name}-heading <th> custom heading cell scope.field_name.titleize
tr <tr> ? nil
#{this_field.to_s.sub(‘?’, ‘’).gsub(’.‘, ’-’)}-view <td> cell data <&field-tag>
controls
edit-link
delete-button
tfoot
Clone this wiki locally