Big can of worms. Look into sqlhtml.py where the bootstrap3 logic is 
defined (just search for bootstrap3). You can see how the style "adapter" 
for bootstrap 2 vs the one for bootstrap 3 are designed. You can than make 
your own for semantic. You can put it in your own code.

In web3py I am planning to move away from sqlform and have the forms 
generated in JS, not in Python since it is odd that one has to write Python 
code to adapt to different CSS. In my opinion, this is not a web2py problem 
but a problem of the way people create CSS for forms. They do not style 
individual element nor they style elements by proximity. They style them in 
a hierarchical manner this imposing an HTML structure.

Massimo

On Friday, 26 May 2017 08:35:02 UTC-5, Najtsirk wrote:
>
> Hi,
>
> I would like to have Semantic UI in my application. However the 
> SQLFORM.grid has Bootstrap by default. Is there "the right" way to 
> implement SQLFORM.grid with SemanticUI?
>
> Can somebody point me into the right direction?
>
> Thanks,
> Kristjan
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to