An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

= ActiveList
{Gem Version}[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
list

def index
end
end

And in the view app/views/people/index.html.erb:

<%= list -%>

== License

ActiveList is released under the MIT license:

* http://www.opensource.org/licenses/MIT