1
0
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:
handlerug 2021-07-02 19:04:02 +07:00
parent 1c24450a8f
commit d352fd85fd
No known key found for this signature in database
GPG Key ID: 38009F0605051491
2 changed files with 2 additions and 2 deletions

View File

@ -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">

View File

@ -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">