diff --git a/pagure/templates/repo_info.html b/pagure/templates/repo_info.html index 86efe0b..1508c9a 100644 --- a/pagure/templates/repo_info.html +++ b/pagure/templates/repo_info.html @@ -133,7 +133,7 @@ git push -u origin master onsubmit="return confirm('Are you sure you want to remove the branch: {{ branch }}?\nThis cannot be un-done!');"> {{ form.csrf_token }} + onclick="$('#delete_branch_form-{{ branch | replace('/', '_') | replace('.', '\\\\.') }}').submit();">