mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-12 05:20:26 +00:00
Auto-focus the first input on new user page
This commit is contained in:
parent
1c24450a8f
commit
d352fd85fd
@ -95,7 +95,7 @@
|
||||
<form action="" method="post">
|
||||
<div class="form-field">
|
||||
<label for="name">Name:</label>
|
||||
<input type="text" name="name" id="name" value="{%s formData.Get("name") %}">
|
||||
<input type="text" name="name" id="name" value="{%s formData.Get("name") %}" autofocus>
|
||||
</div>
|
||||
|
||||
<div class="form-field">
|
||||
|
@ -244,7 +244,7 @@ func StreamAdminUserNewHTML(qw422016 *qt422016.Writer, formData util.FormData) {
|
||||
//line views/admin.qtpl:98
|
||||
qw422016.E().S(formData.Get("name"))
|
||||
//line views/admin.qtpl:98
|
||||
qw422016.N().S(`">
|
||||
qw422016.N().S(`" autofocus>
|
||||
</div>
|
||||
|
||||
<div class="form-field">
|
||||
|
Loading…
Reference in New Issue
Block a user