summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorFernando San Julián <fjsanjulian@hotmail.com>2015-07-31 22:12:33 +0200
committerFernando San Julián <fjsanjulian@hotmail.com>2015-07-31 22:12:33 +0200
commitb92bb77b547010cd770e1f79b12811c7b9c43fb4 (patch)
treeae97347a7c0aded20fb603ad5c592d0d794aa9dd /templates
parente6b3eb115a2c17669e2ffba1ebca5ae17c692c1d (diff)
downloadgitea-b92bb77b547010cd770e1f79b12811c7b9c43fb4.tar.gz
gitea-b92bb77b547010cd770e1f79b12811c7b9c43fb4.zip
autofocus for new and edit issue forms
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/create.tmpl2
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}}