Don't hide the forgot password link

This commit is contained in:
Raphael Sofaer 2011-06-22 13:19:54 -07:00
parent 04b0705733
commit 02739259b6
3 changed files with 4 additions and 17 deletions

View file

@ -31,7 +31,7 @@
= f.password_field :password, :tabindex => 2
- if devise_mapping.recoverable? && controller_name != 'passwords'
= link_to t('devise.shared.links.forgot_your_password'), new_password_path(resource_name), :id => "forgot_password_link", :class => 'hidden', :tabindex => 5
= link_to t('devise.shared.links.forgot_your_password'), new_password_path(resource_name), :id => "forgot_password_link", :tabindex => 5
%br
%p#controls

View file

@ -42,13 +42,5 @@ $(document).ready( function(){
// Check it again
setTimeout(checkSubmitAvailability, 1000);
password
.focus(function(){
forgotPass.removeClass('hidden');
})
.blur(function(){
forgotPass.addClass('hidden');
});
});

View file

@ -65,11 +65,6 @@
}
#forgot_password_link {
@include transition(opacity, 0.2s);
&.hidden {
display: block;
@include opacity(0);
}
text-align: left;
position: absolute;
left: 205px;