AgPerry's picture
Add files using upload-large-folder tool
9f517f2 verified
Raw History Blame Contribute Delete
3.22 kB
{% extends "base.html" %}
{% block content %}
{#
Structure follows the 2026-08-06 capture of www.etsy.com/join: title
"Join | Etsy", heading "Welcome, let's get your account set up", form id
`join-neu-form`, and the provider row Google / Facebook / Apple. The source
pane carries a hidden `first_name` field and `initial_state=register`.
As on the sign-in pane, the captured surface paints no email or password
field; the form below is the working local registration this site requires.
#}
<section class="signin-page" data-auth-pane="register">
<h1>Welcome, let's get your account set up</h1>
{% if errors %}
<div class="state-panel state-error" role="alert">
{% for error in errors %}<p>{{ error }}</p>{% endfor %}
</div>
{% endif %}
{% include "_auth_providers.html" %}
<div class="auth-divider" role="separator"><span>or</span></div>
<form id="join-neu-form" class="signin-form" action="/register" method="post"{% if public_registration_enabled %} data-external-registration="true"{% endif %}>
<input type="hidden" name="csrf" value="{{ csrf }}">
<input type="hidden" name="next" value="{{ next_path }}">
<input type="hidden" name="initial_state" value="register">
<input type="hidden" name="verification_fallback" value="" data-auth-fallback>
<label for="register-email">Email address</label>
<input id="register-email" name="email" type="email" autocomplete="email" placeholder="Enter your email" required{% if public_registration_enabled %} data-auth-email{% endif %}>
<label for="register-name">First name</label>
<input id="register-name" name="display_name" autocomplete="given-name" placeholder="Enter your first name" required>
{% if public_registration_enabled %}
<button type="button" data-auth-send-code>Send verification code</button>
<section data-auth-code-panel hidden aria-label="Verify email address">
<label for="public-registration-code">Verification code</label>
<input id="public-registration-code" data-auth-code inputmode="numeric" autocomplete="one-time-code" pattern="[0-9]{6}" maxlength="6">
<button type="button" data-auth-verify-code>Verify code</button>
</section>
<p data-auth-verification-status role="status" aria-live="polite"></p>
{% endif %}
<label for="register-password">Password</label>
<input id="register-password" name="password" type="password"
autocomplete="new-password" placeholder="Set password" minlength="8" required{% if public_registration_enabled %} data-auth-password{% endif %}>
{# Never `disabled`: with scripting unavailable this button is the only way
to submit, and the server runs the same verification step either way. #}
<button type="submit" name="submit_attempt" value="register"{% if public_registration_enabled %} data-auth-create-account{% endif %}>Create account</button>
</form>
<p>{% if public_registration_enabled %}We'll send a six-digit verification code to this email address.{% else %}We'll place a six-digit verification message in your browser inbox.{% endif %}</p>
{% if public_registration_enabled %}<script src="/static/auth-verification.js"></script>{% endif %}
</section>
{% endblock %}