Thanks, is there also some way of adding the icon to an SQLFORM submit
button?
I've attempted:
search_form = SQLFORM.factory(Field('Search',
requires=IS_ALPHANUMERIC()), submit_button='Search')
search_form[0].insert(1,INPUT(I(_class='icon-search'), _type='submit',
_value='submit me'))
search_form[0].insert(1,P(INPUT(_type='submit', _value='submit me')
_class='icon-search'))
search_form[0].insert(1,DIV(INPUT(_type='submit', _value='submit me',
_class=' icon-search')))
search_form[0].insert(1,I(INPUT(_type='submit', _value='submit me',
_class=' icon-search')))
On Tue, Jul 31, 2012 at 3:04 PM, Annet <[email protected]> wrote:
> Hi Anthony,
>
> Thanks for your reply, problem solved.
>
> Maybe this should be documented somewhere, since these icons are part of
> Bootstrap's Base CSS, which is part of web2py 2.0
>
>
> Kind regards,
>
> Annet
>
> --
>
>
>
>
--