<!DOCTYPE html>
<html lang="it">
<head>
    <title>Sign up</title>
    {% include 'planner/elements/base_head.html' %}
</head>
<body>
{% if user_signup.errors %}
    {{ user_signup.error }}
{% endif %}
{% if profile_signup.errors %}
    {{ profile_signup.errors }}
{% endif %}
<form method="post" action="{% url 'planner:signup' %}">
    {% csrf_token %}
    {{ user_signup.as_p }}
    {{ profile_signup.as_p }}
    <button>Sign up</button>
</form>
</body>
</html>
<!DOCTYPE html>
<html lang="it">
<head>
    <title>Sign up</title>
    {% include 'planner/elements/base_head.html' %}
</head>
<body>
<form method="post" action="{% url 'planner:signup' %}">
    {% csrf_token %}
    {{ user_signup.as_p }}
    {{ profile_signup.as_p }}
    <button>Sign up</button>
</form>
</body>
</html>
Remove duplicate errors. They already appear close to the input if any
Remove duplicate errors. They already appear close to the input if any
