{% extends "_layout.html" %} {% block content %}

Create Account

Join us to start tracking your health.

{{ form.hidden_tag() }}
{{ form.username.label(class="block text-sm font-semibold text-gray-700 mb-2") }}
{{ form.username(class="w-full pl-11 p-3 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all shadow-sm bg-gray-50 focus:bg-white") }}
{% for error in form.username.errors %}

{{ error }}

{% endfor %}
{{ form.password.label(class="block text-sm font-semibold text-gray-700 mb-2") }}
{{ form.password(class="w-full pl-11 p-3 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all shadow-sm bg-gray-50 focus:bg-white") }}
{% for error in form.password.errors %}

{{ error }}

{% endfor %}
{{ form.confirm_password.label(class="block text-sm font-semibold text-gray-700 mb-2") }}
{{ form.confirm_password(class="w-full pl-11 p-3 border border-gray-300 rounded-xl focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-primary-500 transition-all shadow-sm bg-gray-50 focus:bg-white") }}
{% for error in form.confirm_password.errors %}

{{ error }}

{% endfor %}
{{ form.submit(class="w-full bg-primary-600 hover:bg-primary-700 text-white font-bold py-3 rounded-xl shadow-lg hover:shadow-xl transition-all duration-300 transform hover:-translate-y-0.5 cursor-pointer") }}

Already have an account? Log in

{% endblock %}