Hi Paolo,

Thanks for your reply. I added the following lines of code to my bootstra3 
function

        if isinstance(controls, basestring):
            # string
            controls = P(controls, _class='form-control-static')

        elif isinstance(controls, INPUT):
            if controls['_type'] not in ['file', 'checkbox', 'radio']:
                controls.add_class('form-control')
            if controls['_type'] == 'submit':
                # flag submit button
                _submit = True
                controls['_class'] = 'btn btn-primary'
            elif controls['_type'] == 'file':
                controls['_class'] = 'input-file'

        elif isinstance(controls, SPAN):
            # static text
            controls = P(controls[0])
            controls.add_class('form-control-static')

But that did not add the <p></p> element.

I had a look at your bootstrap3 package, and was impressed. The reason I am 
not using it it that I only 
need a view adjustments to SQLFORM, hence my own attempt at a bootstrap3 
function.

I would like to make a comment:
In the insert_person and update_person form the gender and spoken_language 
radios and checkboxes 
aren't rendered the bootstrap way.

And two things I would have done differently:
Put the flash elsewhere, in my browser it's blocking the tests menu items.
In the navigation examples I would have put the nav pills and nav stacked
examples beneath each under.

I am running web2py 2.7.4 on Mac OS X Lion Server in Firefox 26.0


Kind regards,

Annet


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to