Skip to content
Snippets Groups Projects
Verified Commit 91d38a11 authored by David Beniamine's avatar David Beniamine
Browse files

Add CGU

parent e3aac658
No related branches found
No related tags found
No related merge requests found
Pipeline #2058 passed
File added
......@@ -19,7 +19,16 @@
{{ form_row(registrationForm.plainPassword.first, {'row_attr': {'class' : 'form-group d-flex flex-column m-auto mb-4 col-12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5'}}) }}
{{ form_row(registrationForm.plainPassword.second, {'row_attr': {'class' : 'form-group d-flex flex-column m-auto mb-4 col-12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5'}}) }}
{{ form_row(registrationForm.captcha, {'row_attr': {'class' : 'form-group d-flex flex-column m-auto mb-5 col-12 col-sm-10 col-md-9 col-lg-8 col-xl-7 col-xxl-5'}}) }}
{{ form_row(registrationForm.acceptGeneralConditions, {'row_attr': {'class' : 'form-group d-flex flex-column m-auto mb-4 col-auto justify-content-center'}, 'label_attr': { 'class' : 'ms-3'}}) }}
{{ form_row(
registrationForm.acceptGeneralConditions,
{
'row_attr': {'class' : 'form-group d-flex flex-column m-auto mb-4 col-auto justify-content-center'},
'label_attr': { 'class' : 'ms-3'},
'label': '<a href="' ~ asset('cgu.pdf') ~'">'~'registration.agreeTerms' | trans~'</a>',
'label_html': true
}
)
}}
{{ form_row(registrationForm.submit, {'row_attr': {'class' : 'form-group d-flex flex-column m-auto mb-5'}}) }}
{{ form_end(registrationForm) }}
</div>
......
......@@ -48,6 +48,11 @@
{{ 'login.forgot_password_link'|trans }}
</a>
<a href="{{asset('cgu.pdf')}}" target="_blank"
class="m-auto">
{{'login.terms_of_use' | trans}}
</a>
<button class="btn btn-primary m-auto mt-4" type="submit">
{{ 'login.log_in'|trans }}
</button>
......
......@@ -16,6 +16,7 @@ login:
account_disabled_feedback: Your user account is disabled. Please click on the link your receive by email to validate your registration.
forgot_password_link: I forgot my password
log_in: Log in
terms_of_use: Terms of use
registration:
firstName: First name
......
......@@ -16,6 +16,7 @@ login:
account_disabled_feedback: Le compte utilisateur a été désactivé. Veuillez cliquer sur le lien pour recevoir un courriel de validation
forgot_password_link: J'ai oublié mon mot de passe
log_in: Se connecter
terms_of_use: Conditions d'utilisation
registration:
firstName: Prénom
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment