mirror of
				https://github.com/osmarks/mycorrhiza.git
				synced 2025-10-30 23:23:04 +00:00 
			
		
		
		
	Auto-focus the first input on new user page
This commit is contained in:
		| @@ -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"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 handlerug
					handlerug