Merge pull request #2753 from overleaf/ta-password-reset-inflight

Add Inflight UI To Password Reset Form

GitOrigin-RevId: 414e00d30e23d6964c8a6782d2bac52a239f868d
This commit is contained in:
Miguel Serrano 2020-04-22 11:35:51 +02:00 committed by Copybot
parent e2bf647b81
commit 533b395210

View file

@ -37,5 +37,7 @@ block content
.actions
button.btn.btn-primary(
type='submit',
ng-disabled="passwordResetForm.$invalid"
) #{translate("request_password_reset")}
ng-disabled="passwordResetForm.$invalid || passwordResetForm.inflight"
)
span(ng-hide="passwordResetForm.inflight") #{translate("request_password_reset")}
span(ng-show="passwordResetForm.inflight") #{translate("requesting_password_reset")}…