aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/setting.tmpl
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-13 02:39:09 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-13 02:39:09 -0400
commit27104ac89a4c489809068ae5c6dbe383ce7fbde2 (patch)
tree2f19eeecc08209285d9aee53c0c224a4fd8967d3 /templates/repo/setting.tmpl
parent18ba14913746c6c436c4632bdc9174ecfcd59dda (diff)
downloadgitea-27104ac89a4c489809068ae5c6dbe383ce7fbde2.tar.gz
gitea-27104ac89a4c489809068ae5c6dbe383ce7fbde2.zip
Add delete repo
Diffstat (limited to 'templates/repo/setting.tmpl')
-rw-r--r--templates/repo/setting.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/repo/setting.tmpl b/templates/repo/setting.tmpl
index 262b91a187..5e0a9f6cb9 100644
--- a/templates/repo/setting.tmpl
+++ b/templates/repo/setting.tmpl
@@ -22,8 +22,9 @@
<p>This action <strong>CANNOT</strong> be undone. This will delete the repository, wiki, issues, and comments permanently. </p>
<form action="/repo/delete" method="post">
- <input type="hidden" name="reponame" value="{{.Repository.Name}}"/>
- <input type="hidden" name="username" value="{{.Owner.Name}}"/>
+ <input type="hidden" name="userId" value="{{.Owner.Id}}"/>
+ <input type="hidden" name="userName" value="{{.Owner.Name}}"/>
+ <input type="hidden" name="repoId" value="{{.Repository.Id}}"/>
<hr/>
<button class="btn btn-danger btn-lg">I understand the consequences, delete this repository</button>
</form>