Just trying to make things a little more friendly, (so that, a page
with a single form that has a single text field loads with that field
having focus already).
{% else %}
required
{% endif %}
{% else %}
required
{% endif %}
</div>
<div class="form-field large">
</div>
<div class="form-field large">
<form id="register-form" onsubmit="register(this); return false">
<div class="form-field large">
<label for="character">Character name</label>
<form id="register-form" onsubmit="register(this); return false">
<div class="form-field large">
<label for="character">Character name</label>
- <input type="text" id="character" autocomplete="off" required>
+ <input type="text" id="character" autocomplete="off" required autofocus>
</div>
<div class="form-field large">
</div>
<div class="form-field large">
<form id="login-form" onsubmit="lmno_login(this); return false">
<div class="form-field large">
<label for="username">Username</label>
<form id="login-form" onsubmit="lmno_login(this); return false">
<div class="form-field large">
<label for="username">Username</label>
- <input type="text" id="username" required>
+ <input type="text" id="username" required autofocus>
</div>
<div class="form-field large">
</div>
<div class="form-field large">