This repository has been archived by the owner. It is now read-only.

Set the CSS class for JForm field label #1169

Merged
merged 3 commits into from Apr 26, 2012

Conversation

Projects
None yet
2 participants
@vietvh
Contributor

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

This comment has been minimized.

Show comment
Hide comment
@LouisLandry

LouisLandry Apr 25, 2012

Contributor

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

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

Contributor

LouisLandry commented Apr 25, 2012

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

This comment has been minimized.

Show comment
Hide comment
@vietvh

vietvh Apr 26, 2012

Contributor

Just fixed some tab issues.

Contributor

vietvh commented Apr 26, 2012

Just fixed some tab issues.

LouisLandry added a commit that referenced this pull request Apr 26, 2012

Merge pull request #1169 from vietvh/labelclass
Set the CSS class for JForm field label

@LouisLandry LouisLandry merged commit 18070dd into joomla:staging Apr 26, 2012

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.