aldeed:autoform-bs-button-group-input

v2.0.0Published 8 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

aldeed:autoform-bs-button-group-input

An add-on Meteor package for aldeed:autoform. Provides a Bootstrap button group theme for the "select-checkbox", "select-radio", and "boolean-radios" AutoForm input types.

Installation

In a Meteor app directory, enter:

$ meteor add aldeed:autoform-bs-button-group-input

Usage

Specify "select-checkbox" or "select-radio" or "boolean-radios" for the type attribute of any input, and then specify "buttonGroup" as the template attribute.

1{{> afQuickField name="plans" type="select-radio" template="buttonGroup" value=2 label=false}}

Contributing

Anyone is welcome to contribute. Fork, make your changes, and then submit a pull request.