README.md in activeadmin_blaze_theme-0.5.9 vs README.md in activeadmin_blaze_theme-0.5.10
- old
+ new
@@ -5,11 +5,11 @@
Features:
- CSS only theme with clean UI
- compact nested forms
- [customizable](#customize) options: colors, sidebar position, squared style, scroll on cells
-- custom controls / components: [toggle](#toggle), [Sidebar menu](#sidebar-menu), [Accordion](#accordion), [Readonly field](#readonly-field)
+- custom controls / components: [toggle](#toggle), [Sidebar menu](#sidebar-menu), [Accordion](#accordion), [Readonly field](#readonly-field), [Styled table](#styled-table)
- Blaze CSS [widgets](#blaze-widgets)
## Install
- Add to your Gemfile:
@@ -160,9 +160,19 @@
`f.readonly :position, f.object.position * 2`
`f.readonly 'Code', 'Automatically set after save', class: 'a-wrapper-class'`
`f.readonly nil, 'Value only, no label'`
+
+### Styled table
+
+Table styles:
+
+```ruby
+table_for User.all, class: 'blaze-table table-rows table-striped' do
+ # ...
+end
+```
## Blaze widgets
See components avaible in Blaze CSS [docs](http://blazecss.com/components/buttons/).