Skip to content

liquifusion/bootstrap-cfwheels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.

About

API for working with Twitter Bootstrap in CFWheels

Resources

Stars

Watchers

Forks

Packages

No packages published