% if @status == 'enter_password' %> $('h1#login-header').html('Please Enter Your Password'); $('#email-input-form').replaceWith("<%= escape_javascript(render(:partial => 'reception/enter_your_password_form')) %>"); $('h1').effect("highlight", { color: '#8D5530' }, 1000); $(".user_password").effect("highlight", { color: '#8D5530' }, 1000); $('input#user_password').focus(); $('.alert-danger').slideUp(750); <% elsif @status == 'email_validation' %> $('h1#login-header').html('A Validation Email is Coming'); $('#email-input-form').replaceWith("
"); $('h1').effect("highlight", { color: '#8D5530' }, 1000); $("p.validation-message").effect("highlight", { color: '#8D5530' }, 1000); $('.alert-danger').slideUp(750); <% elsif @status == 'password_confirmation' %> $('h1#login-header').html('A Password Creation Security Email is Coming'); $('#email-input-form').replaceWith(" "); $('h1').effect("highlight", { color: '#8D5530' }, 1000); $("p.confirmation-message").effect("highlight", { color: '#8D5530' }, 1000); $('.alert-danger').slideUp(750); <% elsif @status == 'blank_email' %> $('h1#login-header').after('