{% extends 'front/security/base.html.twig' %}
{% block title %}
{{'gender_balance_tool'|trans}}
– {{'Register'|trans}}
{% endblock %}
{% block content %}
{% for flashError in app.flashes('verify_email_error') %}
<div class="alert alert-danger" role="alert">{{ flashError }}</div>
{% endfor %}
<h1 class="h5 mb-3 fw-bold w-100 text-center">{{'Sign up with your email address.'|trans}}</h1>
{{ form_start(registrationForm) }}
{{ form_widget(registrationForm.name) }}
{{ form_widget(registrationForm.email) }}
{{ form_widget(registrationForm.plainPassword) }}
<div class="form-check">
<input class="form-check-input" type="checkbox" value="" id="privacy-policy" required oninvalid="this.setCustomValidity('This is an obligatory field. You must consent to having WIN use the results of reports anonymised and aggregated with others to produce statistics and trends on gender balance in content to be able to create an account on the Gender Tracker. If you have any questions or concerns, send us an email at info@womeninnews.org.')" oninput="this.setCustomValidity('')">
<label class="form-check-label" for="privacy-policy">
{{'I agree to have WIN use the results of reports anonymised and aggregated with others to produce statistics and trends on gender balance in content. Individual organisation reports, data and personal information will never be used, and will be stored under'|trans}}
<a href="https://wan-ifra.org/privacy-policy/" target="_blank">{{'WAN-IFRA’s privacy policy'|trans}}</a>.
</label>
</div>
{# {{ form_widget(registrationForm.agreeTerms) }} #}
<button class="btn btn-primary w-100" type="submit" class="btn">
{{'Sign up'|trans}}</button>
<p class="mt-3 text-center">{{'Already have an account?'|trans}}
<a href="{{path('app_login')}}">{{'Sign in'|trans}}</a>
</p>
{{ form_end(registrationForm) }}
{% endblock %}