summaryrefslogtreecommitdiffstats
path: root/templates/repo/release/new.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-23 15:59:19 +0800
committerUnknwon <u@gogs.io>2016-07-23 15:59:19 +0800
commitc912494609470f10401594391c6f2763684cb624 (patch)
tree1f8c047fbb9ed1ae0f852d8899cb037dfd80a47e /templates/repo/release/new.tmpl
parent69dae1ec1c5265e815c8b0fedff3399438e2e380 (diff)
downloadgitea-c912494609470f10401594391c6f2763684cb624.tar.gz
gitea-c912494609470f10401594391c6f2763684cb624.zip
#3076 detect invalid tag name git error
Diffstat (limited to 'templates/repo/release/new.tmpl')
-rw-r--r--templates/repo/release/new.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl
index e334ee749e..9f947fa26a 100644
--- a/templates/repo/release/new.tmpl
+++ b/templates/repo/release/new.tmpl
@@ -19,7 +19,7 @@
{{if .PageIsEditRelease}}
<b>{{.tag_name}}</b><span class="at">@</span><strong>{{.tag_target}}</strong>
{{else}}
- <input name="tag_name" value="{{.tag_name}}" placeholder="{{.i18n.Tr "repo.release.tag_name"}}" autofocus required>
+ <input id="tag-name" name="tag_name" value="{{.tag_name}}" placeholder="{{.i18n.Tr "repo.release.tag_name"}}" autofocus required>
<span class="at">@</span>
<div class="ui selection dropdown">
<input type="hidden" name="tag_target" value="{{.tag_target}}"/>