Skip to content

Commit

Permalink
Merge pull request #323 from emorozov/master
Browse files Browse the repository at this point in the history
Adds autofocus to the username input field.
  • Loading branch information
newpanjing authored Jan 26, 2021
2 parents 8d7dee6 + f0c69db commit b7399f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea/
django_simpleui.egg-info
dist
build
/simpleui.egg-info/
2 changes: 1 addition & 1 deletion simpleui/templates/admin/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
{% csrf_token %}
<div class="simpleui-input-inline">
<el-input prefix-icon="fas fa-user" v-model="username" name="username"
placeholder="{% trans 'username' %}"></el-input>
placeholder="{% trans 'username' %}" autofocus></el-input>
</div>
<div class="simpleui-input-inline">
<el-input prefix-icon="fas fa-lock" type="password" v-model="password" name="password"
Expand Down

0 comments on commit b7399f6

Please sign in to comment.