1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-29 09:31:11 -05:00

Fix new branch creation to new url scheme (#2884)

This commit is contained in:
Lauris BH 2017-11-11 03:32:46 +02:00 committed by Bo-Yi Wu
parent e22be08ab6
commit 0a9fd454da

View file

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