Checkbox Select plugin

Plugin details

This is a lightweight crude checkbox select plugin for has_and_belongs_to_many assocation.

Repositoryhttp://vorlich.ath.cx/code/excited/plugins/checkbox_select Author Alastair Brunton Tags form, checkbox, has_and_belongs_to_many LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://vorlich.ath.cx/code/excited/plugins/checkbox_select

To the model you are working with -

include CheckboxSelectable



In the view:

<%= checkbox_select 'object', 'method', @collection, id, name %>



In your controller:

@object.update_check_list(params, 'Model')

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: Guest, 7 months ago