Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 

64 Zeilen
2.2 KiB

  1. {# templates/invite/set_password.html.twig #}
  2. <!DOCTYPE html>
  3. <html lang="de">
  4. <head>
  5. <meta charset="UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <title>{{ 'app.set_password.page_title'|trans({'%name%': invite.account.name}) }}</title>
  8. {{ encore_entry_link_tags('app') }}
  9. </head>
  10. <body class="login-body">
  11. <div class="login-card">
  12. <div class="login-card__title">{{ invite.account.name }}</div>
  13. <p class="login-card__sub">{{ 'app.set_password.subtitle'|trans({'%name%': invite.firstName}) }}</p>
  14. {% if error == 'csrf' %}
  15. <div class="login-card__error">{{ 'app.csrf_error'|trans }}</div>
  16. {% elseif error == 'too_short' %}
  17. <div class="login-card__error">{{ 'app.set_password.error_too_short'|trans }}</div>
  18. {% elseif error == 'mismatch' %}
  19. <div class="login-card__error">{{ 'app.set_password.error_mismatch'|trans }}</div>
  20. {% endif %}
  21. <form class="login-form" method="post">
  22. <input type="hidden" name="_csrf_token" value="{{ csrf_token('invite_password') }}" />
  23. <div class="login-form__grid">
  24. <label class="login-form__label" for="password">{{ 'app.set_password.label_password'|trans }}</label>
  25. <div class="login-form__field">
  26. <input type="password"
  27. id="password"
  28. name="password"
  29. class="input"
  30. autocomplete="new-password"
  31. autofocus
  32. required
  33. minlength="8" />
  34. </div>
  35. <label class="login-form__label" for="passwordRepeat">{{ 'app.set_password.label_password_repeat'|trans }}</label>
  36. <div class="login-form__field">
  37. <input type="password"
  38. id="passwordRepeat"
  39. name="passwordRepeat"
  40. class="input"
  41. autocomplete="new-password"
  42. required />
  43. </div>
  44. </div>
  45. <div class="login-form__actions">
  46. <button type="submit" class="btn btn-primary login-form__submit">{{ 'app.set_password.btn_submit'|trans }}</button>
  47. </div>
  48. </form>
  49. </div>
  50. </body>
  51. </html>