Rails Responsive Table is a rails table builder for an ActiveRecord collection.
- Twitter Bootstrap 3.0+
- Fontawesome
- include media
Add it to your Gemfile:
gem 'ct_table_for', '~> 0.1.6'
Then:
bundle
Then require the CSS in your application.css
file:
/*
*= require table_for
*/
or in sass
@import "table_for"
To get started, just use the table_for_for
helper. Here's an example:
<%= table_for Model, @collection %>
To develop the Gem, clone this repo and in your Rails Test application edit the Gemfile
and edit the path to your local repo:
gem 'table_for', path: '/home/user/path/to/table_for'
Bug reports and pull requests are welcome on GitHub. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
table_for
is Copyright © 2017 CodiTramuntana SL. It is free software, and may be redistributed under the terms specified in the LICENSE file.
The gem is available as open source under the terms of the MIT License.
Maintained by CodiTramuntana.
The names and logos for CodiTramuntana are trademarks of CodiTramuntana SL.
We love open source software!