1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

autofocus for new and edit issue forms

This commit is contained in:
Fernando San Julián
2015-07-31 22:12:33 +02:00
parent e6b3eb115a
commit b92bb77b54
2 changed files with 2 additions and 1 deletions

View File

@@ -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}}