Set the CSS class for JForm field label #1169

merged 3 commits into from Apr 26, 2012


None yet

2 participants

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" />


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

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