can you share your CSS/ Javascript code regarding the *flipLink and
**flipToLogin
objects?


*
On Tue, Mar 13, 2012 at 4:04 PM, Sushant Taneja
<sushant.tanej...@gmail.com>wrote:

> Hi,
>
> In my view index.html, I have two forms: auth.login() and custom forgot
> password form.
> Initially the login form is displayed with a Forgot Password link. When we
> click on the link the form flips(rotates using CSS) and the forgot password
> form is now displayed.
>
> The forgot password form is a SQLFORM.factory generated form and is loaded
> in the page via the following line of code:
>
> {{=LOAD('user','request_reset_password.load',ajax=False,ajax_trap=True)}}
>
> The flip animation i.e. CSS rotation works fine until the forgot password
> form is submitted.
> After submission, the CSS breaksWARNING with import and threading.local():
> they were hot topics on the
> pycon webdev summit, and other frameworks are facing problems with
> them.
>
> They could be memory hungry and contention problems could arise, so
> they could have scalabillity issues too.
>
> I think the web2py way is not so bad, but we should find some way to
>
> The .load component is as follows:
>
>
> {{=forgot_pass_form.custom.begin}}
> <table id='recover'>
>     <tr>
>         <td colspan='2'>Give us your email id and we will send you a link
> to reset your password</td>
>     </tr>
>     <tr>
>         <td colspan='2'>{{=forgot_pass_form.custom.widget.email_id}}</td>
>     </tr>
>     <tr>
>         <td>*<a href="#" id="flipToLogin" class="flipLink">Back to
> Login</a>*</td>
>         <td>{{=forgot_pass_form.custom.submit}}</td>
>     </tr>
>     <tr>
>         <td colspan='2'>
>             {{if forgot_pass_form.errors:}}
>                 <div
> class="error">{{=forgot_pass_form.errors.email_id}}</div>
>                 {{pass}}
>         </td>
>     </tr>
> </table>
> {{=forgot_pass_form.custom.end}}
>
> The bold code above is the link which causes the CSS rotation but after
> submission fails to do so
>
> Can somebody help me understand on what's happening ?
>
> Thanks,
> Sushant
>



-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to