The web2py version is loading the web2py.css stylesheet, which among other 
things sets the width of text boxes to 300px. Also, for the submit button, 
web2py generates an input of type "submit" with no class, but yours is of 
type "button" with class "button" -- so you should either create your own 
custom submit button or change the CSS to style web2py's button as you like 
it.

Anthony

On Wednesday, December 5, 2012 5:50:50 PM UTC-5, Clinton Collins wrote:
>
>
>
> Can you shed some more light on this? I checked into the custom forms, but 
> it doesn't really create the desirable effect I was going for. Here's what 
> I have for the view:
>
> {{extend 'login.html'}}
> {{=form.custom.begin}}
> <div id="userbox">Username: {{=form.custom.widget.username}}</div>
> <br />
> <div id="passbox">Password: {{=form.custom.widget.password}}</div>
> {{=form.custom.submit}}
> {{=form.custom.end}}
>
> In the controller I have this:
>
> def index():
>     return dict(form=auth.login())
>
> Once again, I'm trying to get it to work like this: 
> http://pydev.allgamer.net/panel/default/login and this is what I 
> currently have: http://pydev.allgamer.net/panel/default/index
>
> Thanks for the help so far.
>

-- 



Reply via email to