Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
API for working with Twitter Bootstrap in CFWheels
ColdFusion
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Bootstrap.cfc
README.md

README.md

Bootstrap CFWheels Plugin

Experimental plugin that adds an API for working with Twitter Bootstrap.

Methods

All methods have their "usual" arguments from the Wheels API, but additional arguments are listed below along with the method names.

Object Form Helpers

  • hStartFormTag()
  • bFileField([ string helpBlock ])
  • bSelect([ string helpBlock ])
  • bTextField([ string helpBlock, string prependedText, string appendedText ])
  • bTextArea([ string helpBlock ])
  • bPasswordField([ string helpBlock, string prependedText, string appendedText ])
  • bUneditableTextField(string label, string value [, string class ])
  • bCheckBox()

These form helpers also place error messages in-line using errorMessageOn and Bootstrap.

Tag Form Helpers

  • bSelectTag()
  • bTextFieldTag()

Other Form Helpers

  • bSubmitTag([ string class, boolean isPrimary ])

View Helpers

  • bFlashMessages()
  • bPaginationLinks()

Dependencies

You must install the Nested errorMessageOn plugin for this plugin to work.

Contributors

Created by Chris Peters with support from Liquifusion Studios.

Something went wrong with that request. Please try again.