{% extends 'base.html' %} {% block header %} <h1>{% block title %}Register{% endblock %}</h1> {% endblock %} {% block content %} <form action="{{ url_for('register') }}" method="POST" id="regform" class="mt-4"> <div class="form-group"> <label for="email" class="mb-2">{{ _("Email") }}</label> <input name="email" id="email" type="email" class="form-control" placeholder="Your email" required=""> <div id="errordiv"></div> </div> <div class="form-group"> <div class="form-group"> <label for="password" class="mb-2">{{ _("Password") }}</label> <input name="password" id="password" type="password" class="form-control" placeholder="Your password" required=""> </div> <div class="form-group"> <label for="confirmPassword" class="mb-2">{{ _("Confirm password") }}</label> <input name="password2" id="confirmPassword" type="password" class="form-control" placeholder="Confirm password" required=""> </div> <div class="d-flex justify-content-between align-items-center mb-4"> <div class="form-check"> <label class="form-check-label"> <input name="terms" class="form-check-input" type="checkbox"> <span class="form-check-x"></span> <span class="form-check-sign"></span> {{ _("I agree to the %(terms)s", terms="<a href=\"#\">"|safe+_("terms and conditions")+"</a>"|safe) }}. </label> </div> </div> </div> <button type="submit" id="regbutton" class="btn btn-block btn-primary">{{ _("Register account") }}<</button> </form> <div class="d-block d-sm-flex justify-content-center align-items-center mt-4"> <p class="font-weight-normal"> {{ _("Already have an account?") }} <a href="/login_page" class="font-weight-bold">{{ _("Login here") }}</a> </p> </div> <script type="module" src="{{ url_for('static', filename='registering_script.js') }}" charset="utf-8"> </script> {% endblock %}