summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2017-11-11 03:32:46 +0200
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-11-10 19:32:46 -0600
commit0a9fd454da19b44c4a492d94ab828ab63eb7007c (patch)
tree6bc724203360b653a15f89ab09c5829011c38b74 /templates
parente22be08ab636223f912f3b82c59990d4f117b33d (diff)
downloadgitea-0a9fd454da19b44c4a492d94ab828ab63eb7007c.tar.gz
gitea-0a9fd454da19b44c4a492d94ab828ab63eb7007c.zip
Fix new branch creation to new url scheme (#2884)
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/branch_dropdown.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/branch_dropdown.tmpl b/templates/repo/branch_dropdown.tmpl
index 881747220e..68a2d3c497 100644
--- a/templates/repo/branch_dropdown.tmpl
+++ b/templates/repo/branch_dropdown.tmpl
@@ -53,7 +53,7 @@
{{end}}
</div>
</a>
- <form ref="newBranchForm" action="{{.RepoLink}}/branches/_new/{{EscapePound .BranchName}}" method="post">
+ <form ref="newBranchForm" action="{{.RepoLink}}/branches/_new/{{EscapePound .BranchNameSubURL}}" method="post">
{{.CsrfTokenHtml}}
<input type="hidden" name="new_branch_name" v-model="searchTerm">
</form>