diff options
author | Fernando San Julián <fjsanjulian@hotmail.com> | 2015-07-31 22:12:33 +0200 |
---|---|---|
committer | Fernando San Julián <fjsanjulian@hotmail.com> | 2015-07-31 22:12:33 +0200 |
commit | b92bb77b547010cd770e1f79b12811c7b9c43fb4 (patch) | |
tree | ae97347a7c0aded20fb603ad5c592d0d794aa9dd /templates | |
parent | e6b3eb115a2c17669e2ffba1ebca5ae17c692c1d (diff) | |
download | gitea-b92bb77b547010cd770e1f79b12811c7b9c43fb4.tar.gz gitea-b92bb77b547010cd770e1f79b12811c7b9c43fb4.zip |
autofocus for new and edit issue forms
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/issue/create.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/create.tmpl b/templates/repo/issue/create.tmpl index ed7ba3559c..de0c47ac20 100644 --- a/templates/repo/issue/create.tmpl +++ b/templates/repo/issue/create.tmpl @@ -12,7 +12,7 @@ </div> <div class="col-md-8 panel panel-default"> <div class="form-group panel-body"> - <input class="form-control input-lg" type="text" name="title" required="required" placeholder="Title" value="{{.title}}" /> + <input class="form-control input-lg" type="text" name="title" required="required" placeholder="Title" value="{{.title}}" autofocus /> </div> <div class="form-group panel-body"> {{if .IsRepositoryOwner}} |