https://github.com/ekylibre/active_list
Simple interactive tables for Rails app
https://github.com/ekylibre/active_list
Last synced: about 2 months ago
JSON representation
Simple interactive tables for Rails app
- Host: GitHub
- URL: https://github.com/ekylibre/active_list
- Owner: ekylibre
- License: mit
- Created: 2014-05-04T14:47:52.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-08-29T09:40:18.000Z (over 5 years ago)
- Last Synced: 2025-01-28T01:46:43.853Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 278 KB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rdoc
- License: LICENSE.txt
Awesome Lists containing this project
README
= ActiveList
{}[http://badge.fury.io/rb/active_list]
{}[https://travis-ci.org/ekylibre/active_list]
{}[https://gemnasium.com/ekylibre/active_list]
{}[https://codeclimate.com/github/ekylibre/active_list]
ActiveList is a simple list widget. It permits to create a controller
method and view helper to displays lists.The first need was to have a simple component to build easily HTML
tables. No scaffolds, only listings.ActiveList works only with Rails ≥ 3.1.
ActiveList works only with Ruby ≥ 1.9 since v4.2.0.
== Quick start
First, the JS code must be added to the pipeline in app/assets/javascripts/application.js:
//= require active_list.jquery
And for style, you can add in app/assets/stylesheets/application.css:
*= require active_list
The simple way to use it is to write in our controller:
class PeopleController < ApplicationController
listdef index
end
endAnd in the view app/views/people/index.html.erb:
<%= list -%>
== License
ActiveList is released under the MIT license:
* http://www.opensource.org/licenses/MIT