Sha256: e8a404b18c4a526386a3828476046844880513e02efc7039f5ce84db4b16335e

Contents?: true

Size: 1.47 KB

Versions: 8

Compression:

Stored size: 1.47 KB

Contents

= ActiveList
{<img src="https://badge.fury.io/rb/active_list.png" alt="Gem Version" />}[http://badge.fury.io/rb/active_list]
{<img src="https://api.travis-ci.org/burisu/active_list.png?branch=master"/>}[https://travis-ci.org/burisu/active_list]
{<img src="https://gemnasium.com/burisu/active_list.png"/>}[https://gemnasium.com/burisu/active_list]
{<img src="https://codeclimate.com/github/burisu/active_list.png" />}[https://codeclimate.com/github/burisu/active_list]
{<img src="https://coveralls.io/repos/burisu/active_list/badge.png?branch=master" alt="Coverage Status" />}[https://coveralls.io/r/burisu/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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
active_list-6.1.5 README.rdoc
active_list-6.1.4 README.rdoc
active_list-6.1.3 README.rdoc
active_list-6.1.2 README.rdoc
active_list-6.1.1 README.rdoc
active_list-6.1.0 README.rdoc
active_list-6.0.1 README.rdoc
active_list-6.0.0 README.rdoc