summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-14 20:40:22 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-04-14 20:40:22 +0800
commit8549b47e04a1461520d698bd87cbd67f1236508b (patch)
tree9fa4baf3e85ebe3eabec7e63709fe565e048c83e /templates
parent337eef2ee57707f055042db21b7b4159db0f0200 (diff)
downloadgitea-8549b47e04a1461520d698bd87cbd67f1236508b.tar.gz
gitea-8549b47e04a1461520d698bd87cbd67f1236508b.zip
fix repo-new ui, fix top-nav search-bar ui
Diffstat (limited to 'templates')
-rw-r--r--templates/release/new.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/release/new.tmpl b/templates/release/new.tmpl
index 439496ea62..6dfe4a5c2d 100644
--- a/templates/release/new.tmpl
+++ b/templates/release/new.tmpl
@@ -28,6 +28,7 @@
{{end}}
</ul>
</div>
+ <input id="tag-target" type="hidden" name="tag_target" value="{{.Repository.DefaultBranch}}"/>
</div>
<p class="help-block">Choose an existing tag, or create a new tag on publish</p>
</div>