Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option "class" has no effect when using $this->TwitterBootstrap->input #5

Closed
tincho opened this issue Apr 5, 2012 · 1 comment
Closed

Comments

@tincho
Copy link
Contributor

tincho commented Apr 5, 2012

this hasnt the expected result:
$this->TwitterBootstrap->input('name', array('class' => 'myfieldclass') );

which would be something like

just added the line

if(!empty($options['class'])) $opt['class'] = $options['class'];

on line 268 (method _combine_input)

not sure of how to submit a pull request and no per-line comments allowed so excuse me for skipping the "formal protocol"

@joeytrapp
Copy link
Contributor

I've just added support for the class option, and a test assertion for it. This is now in 2.0 and master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants