[web2py] Re: Bootstrap3 package - help to test

2014-03-17 Thread Dmitry Rodetsky
Actually there is still a problem. Although the index out of range fault went away and reCaptcha displays now - it does not test and simply continues with submission. I've been trying to find where the problem is for a few hours so far, but no luck for now. -- Resources: - http://web2py.com -

[web2py] Re: Bootstrap3 package - help to test

2014-03-15 Thread Dmitry Rodetsky
Ok it seems I got this thing fixed up. The problem was in the bootstrap3.py module. I am including an updated version as an attachment. Line changes: 203, 440-442. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https:/

[web2py] Re: Bootstrap3 package - help to test

2014-03-15 Thread Dmitry Rodetsky
Problems with reCaptcha. Using the following code: *In db.py*: def captcha_field(request=request): from gluon.tools import Recaptcha w = lambda x,y: Recaptcha(request, 'proper public key here ', 'proper private key here ', error_message='Invalid statement') retu

[web2py] Re: Bootstrap3 package - help to test

2014-03-13 Thread Dmitry Rodetsky
Found an issue when trying to use bs3.form() and have a placeholder In the following scenario if you have something like this in your db.py to modify your field to use an HTML5 placeholder: *db.table_name.row_name.widget = lambda field, value: SQLFORM.widgets.string.widget(field, value, _placeh

[web2py] Re: Bootstrap3 package - help to test

2014-03-03 Thread Dmitry Rodetsky
Just set it up on my system. Found that the web2py logo was not showing up correctly in the corner. It had wrong top padding and a blue instead of white color when loading the default page. To fix this problem - you can go to the models/menu.py, and change the following from: response.logo = A