AgPerry's picture
Add files using upload-large-folder tool
366d6fd verified
Raw History Blame Contribute Delete
1.39 kB
{% extends "base.html" %}
{% block title %}Create your Apple Account - Apple{% endblock %}
{% block content %}
<div class="wrap form-page">
<h1>Create your Apple Account.</h1>
{% if error %}<p class="form-error" role="alert">{{ error }}</p>{% endif %}
{% if stage == 'details' %}
<form method="post" action="/shop/register" class="stack">
<input type="hidden" name="stage" value="details">
<label>Name
<input type="text" name="display_name" required autocomplete="name"
value="{{ (form or {}).get('display_name', '') }}">
</label>
<label>Email
<input type="email" name="email" required autocomplete="username"
value="{{ (form or {}).get('email', '') }}">
</label>
<label>Password
<input type="password" name="password" required autocomplete="new-password">
<small>At least 12 characters.</small>
</label>
<button class="pill" type="submit">Continue</button>
</form>
{% else %}
<p>We sent a verification code to your email address.</p>
<form method="post" action="/shop/register" class="stack">
<input type="hidden" name="stage" value="verify">
<label>Verification code
<input type="text" name="code" required inputmode="numeric" autocomplete="one-time-code">
</label>
<button class="pill" type="submit">Create Account</button>
</form>
{% endif %}
</div>
{% endblock %}