Don't hide the forgot password link
This commit is contained in:
parent
04b0705733
commit
02739259b6
3 changed files with 4 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -42,13 +42,5 @@ $(document).ready( function(){
|
|||
|
||||
// Check it again
|
||||
setTimeout(checkSubmitAvailability, 1000);
|
||||
|
||||
password
|
||||
.focus(function(){
|
||||
forgotPass.removeClass('hidden');
|
||||
})
|
||||
.blur(function(){
|
||||
forgotPass.addClass('hidden');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue