Hello everybody, can someone give me some light how to accomplish this kind 
of stuff
i want to build horizontal forms from bootstrap sample ( 
http://twitter.github.io/bootstrap/base-css.html#forms) using 
sqlfom/sqlform.smartgrid
i read the docs and do googling, 
can anyone give me some example how to to that. the example code is below
<form class="form-horizontal">
    <div class="control-group">
        <label class="control-label" for="inputEmail">Email</label>
        <div class="controls">
        <input type="text" id="inputEmail" placeholder="Email">
        </div>
    </div>
    <div class="control-group">
        <label class="control-label" for="inputPassword">Password</label>
        <div class="controls">
        <input type="password" id="inputPassword" placeholder="Password">
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
        <label class="checkbox">
        <input type="checkbox"> Remember me
        </label>
        <button type="submit" class="btn">Sign in</button>
        </div>
    </div>
</form>
how to build custom login sqlform/sqlfrom.smartgrid/sqlform.factory in 
controller using the code above 
i read the docs but still don't get it 

Notes: 
1. i'm not using all web2py css and js ( i'm using original twitter 
bootstrap, no tweak etc ).
2. i'm totally newbie, so i'm using web2py to learn twitter bootstrap , 
java script + python. so i have different purpose, different path, 
different goal to achieve, that's why i'm not using the default css and js 
script.
some people  might say i should go with flask/bottle if want to build 
something from scratch  but i want to stick with web2py.


Thanks

-- 

--- 
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/groups/opt_out.


Reply via email to