Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 786 Bytes

File metadata and controls

24 lines (15 loc) · 786 Bytes

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.

{{> 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.