Hi, If I add the below I can login.
#Controller def login: return dict(form=auth.login()) #View {{=form}} I need to style the submit button and the email and username fields. >From the controller..how to I add email and password as separate fields and to custom submit button while keeping form validation? E.g. <div class="field"> <label for="">Email</label> <input type="text" /> </div> <div class="field"> <label for="">Password</label> <input type="text" /> </div> <div class="buttons"> <button class="log_in"> <span class="label">Log In</span> <span class="right"></span> </button> </div> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---