templates/bundles/FOSUserBundle/Registration/register_content_email_form.html.twig line 75

Open in your IDE?
  1. {% trans_default_domain 'FOSUserBundle' %}
  2. <style>
  3. /* Living Styleguide Styles für das E-Mail-Eingabefeld */
  4. #fos_user_registration_form_email_first {
  5. display: block;
  6. width: 100%;
  7. border-radius: 0.75rem;
  8. border: 0;
  9. padding: 0.375rem 0.75rem;
  10. color: #1f2937;
  11. box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  12. outline: none;
  13. transition: all 150ms;
  14. background-color: #FAFAFA;
  15. /* Ring effect */
  16. --tw-ring-offset-shadow: 0 0 #0000;
  17. --tw-ring-shadow: 0 0 0 1px #d1d5db inset;
  18. box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 1px 2px 0 rgb(0 0 0 / 0.05);
  19. }
  20. #fos_user_registration_form_email_first:focus {
  21. background-color: white;
  22. --tw-ring-shadow: 0 0 0 2px #6b7280 inset;
  23. box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 1px 2px 0 rgb(0 0 0 / 0.05);
  24. }
  25. #fos_user_registration_form_email_first::placeholder {
  26. color: #9ca3af;
  27. }
  28. </style>
  29. <div class="col-md-6 mb-4">
  30. <div class="jlls-card">
  31. <div class="jlls-card-title" style="background-color: #CE99F2;">
  32. <span class="jlls-card-title-text" style="color: white;">
  33. {% if createWithRole == constant('App\\Entity\\User::ROLE_NAME_JOBOFFERER') %}
  34. {{ 'registration.headline_register_now_jobofferer'|trans|raw }}
  35. {% else %}
  36. {{ 'registration.headline_register_now_jobseeker'|trans|raw }}
  37. {% endif %}
  38. </span>
  39. </div>
  40. <div class="tw-p-6">
  41. <p class="jlls-text tw-mb-4">
  42. {% if createWithRole == constant('App\\Entity\\User::ROLE_NAME_JOBOFFERER') %}
  43. {{ 'registration.please_fill_out.jobofferer'|trans }}
  44. {% else %}
  45. {{ 'registration.please_fill_out.jobseeker'|trans }}
  46. {% endif %}
  47. </p>
  48. {{ form_start(form, {'method': 'post', 'action': path('fos_user_registration_register', {'createWithRole': createWithRole}), 'attr': {'class': 'fos_user_registration_register', 'id': 'register-form'}}) }}
  49. {{ form_widget(form.email, {'attr': {'class': 'jlls-text'}}) }}
  50. <div class="tw-mb-3">
  51. {{ form_row(form.acceptedTermsAndConditions) }}
  52. </div>
  53. <div class="tw-flex tw-flex-col tw-gap-4 tw-mt-6">
  54. {{ captchaJavascript('register-form', 'submit-button') }}
  55. <div class="{{ captchaSubmitClass() }}" {{ captchaSubmitDataAttributes() }}></div>
  56. <button type="submit" class="submit-button jlls-button-tertiary tw-w-full tw-justify-center" data-testid="registration-submit-button">
  57. {{ 'registration.submit'|trans }}
  58. </button>
  59. {% if feature_flag_service.featureEnabledForRequest(constant('App\\Service\\FeatureFlagService::FEATURE_REGISTER_VIA_GOOGLE_IDENTITY'), app.request) %}
  60. {# Google Identity - OAuth2 - Call to Action #}
  61. {% if createWithRole is same as constant('App\\Entity\\User::ROLE_NAME_JOBSEEKER') %}
  62. <div class="jlls-text tw-text-center">
  63. <span>oder</span>
  64. </div>
  65. <a class="jlls-link-as-button-secondary tw-inline-flex tw-items-center tw-justify-center tw-gap-2 tw-w-full"
  66. href="{{ google_identity_service.getJobseekerOAuth2TargetUrl() }}"
  67. >
  68. <img width="20px"
  69. alt="Google sign-in"
  70. src="{{ asset('assets/images/Google_G_Logo.svg.png')|cdnifyUri }}"
  71. />
  72. <span>{{ 'registration.register_via_google'|trans }}</span>
  73. </a>
  74. {% endif %}
  75. {% endif %}
  76. </div>
  77. {{ form_row(form._token) }}
  78. {{ form_end(form) }}
  79. </div>
  80. </div>
  81. {% if createWithRole is same as constant('App\\Entity\\User::ROLE_NAME_JOBOFFERER') %}
  82. <div class="tw-mt-6">
  83. <h2 class="jlls-h4 tw-text-center tw-mb-4">{{ 'registration.subline_two.jobofferer'|trans }}</h2>
  84. <div class="jlls-card tw-overflow-hidden tw-p-0">
  85. <img
  86. src="{{ asset('assets/images/default/homepage/referenzkunden-mobil.png')|cdnifyUri }}"
  87. alt="{{ 'homepage.headline_seals'|trans }}"
  88. width="100%"
  89. class="tw-block"
  90. >
  91. </div>
  92. </div>
  93. {% endif %}
  94. </div>