mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-05-02 15:04:07 +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">
|
<form action="" method="post">
|
||||||
<div class="form-field">
|
<div class="form-field">
|
||||||
<label for="name">Name:</label>
|
<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>
|
||||||
|
|
||||||
<div class="form-field">
|
<div class="form-field">
|
||||||
|
@ -244,7 +244,7 @@ func StreamAdminUserNewHTML(qw422016 *qt422016.Writer, formData util.FormData) {
|
|||||||
//line views/admin.qtpl:98
|
//line views/admin.qtpl:98
|
||||||
qw422016.E().S(formData.Get("name"))
|
qw422016.E().S(formData.Get("name"))
|
||||||
//line views/admin.qtpl:98
|
//line views/admin.qtpl:98
|
||||||
qw422016.N().S(`">
|
qw422016.N().S(`" autofocus>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-field">
|
<div class="form-field">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user