Skip to content

Set the CSS class for JForm field label #1169

Merged
merged 3 commits into from Apr 26, 2012

2 participants

@vietvh
vietvh commented Apr 23, 2012

This pull is intended to allow developer to set CSS class for form field's label. It can be useful for styling purpose.

For example Twitter Bootstrap requires class="control-label" for form field label tag.

Usage: add labelclass="your-css-class" in your form xml manifest

<......description="" required="true" labelclass="control-label" />

@LouisLandry

Just a few code style issues to clean up and we can get this merged. Thanks!

http://developer.joomla.org/pulls/pulls/1169.html

@vietvh
vietvh commented Apr 26, 2012

Just fixed some tab issues.

@LouisLandry LouisLandry merged commit 18070dd into joomla:staging Apr 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.