request-link.hbs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <div class="forgotten-password-page">
  2. <div class="page-header">
  3. <div class="container">
  4. <h1>{{gettext "Change forgotten password"}}</h1>
  5. </div>
  6. </div>
  7. <div class="container">
  8. <div class="row">
  9. <div class="col-md-8">
  10. <p>{{gettext "Because user passwords are processed in an irreversible way before being saved to database, it is not possible for us to simply send you your password."}}</p>
  11. <p>{{gettext "Instead, you can change your password using special secure form that will be available by special link valid only for your browser, for seven days or until your password is changed."}}</p>
  12. <p>{{gettext "To receive this link, enter your account's e-mail addres in form and press \"Send link\" button."}}</p>
  13. </div>
  14. <div class="col-md-4">
  15. <div class="well well-form">
  16. <form {{action "submit" on="submit"}}>
  17. <div class="form-group">
  18. <div class="control-input">
  19. {{input type="text" value=email class="form-control" placeholder=(gettext "Your e-mail address")}}
  20. </div>
  21. </div>
  22. {{#if isLoading}}
  23. <button type="button" class="btn btn-block btn-primary" disabled="disabled">
  24. <span class="fa fa-cog fa-spin"></span>
  25. {{gettext "Processing..."}}
  26. </button>
  27. {{else}}
  28. <button type="submit" class="btn btn-primary btn-block">{{gettext "Send link"}}</button>
  29. {{/if}}
  30. </form>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. </div>