summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJames Anderson <james@jamesanderson.me>2014-04-24 14:50:24 -0400
committerJames Anderson <james@jamesanderson.me>2014-04-24 14:50:24 -0400
commite5af34a0787f2b5fd8a4da8571659af545da54a4 (patch)
tree6c960eeb9aea55786b1465c886bb6c62e16a7365 /templates
parent32ae6896fa77f31f5626b41260743ef84c132b1e (diff)
downloadgitea-e5af34a0787f2b5fd8a4da8571659af545da54a4.tar.gz
gitea-e5af34a0787f2b5fd8a4da8571659af545da54a4.zip
fixed some broken forms that were introduced in james-anderson@521c5f0e10
Diffstat (limited to 'templates')
-rw-r--r--templates/user/password.tmpl2
-rw-r--r--templates/user/publickey.tmpl2
-rw-r--r--templates/user/setting.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/password.tmpl b/templates/user/password.tmpl
index cba9cce0c5..c55d27fa1a 100644
--- a/templates/user/password.tmpl
+++ b/templates/user/password.tmpl
@@ -5,7 +5,7 @@
<div id="user-setting-container" class="col-md-9">
<div id="setting-pwd">
<h4>Password</h4>
- <form class="form-horizontal" id="password-form" method="post" action="/user/setting/password">
+ <form class="form-horizontal" id="password-form" method="post" action="/user/settings/password">
{{.CsrfTokenHtml}}
{{template "base/alert" .}}
<div class="form-group">
diff --git a/templates/user/publickey.tmpl b/templates/user/publickey.tmpl
index 8eb7be487c..bf9aac1136 100644
--- a/templates/user/publickey.tmpl
+++ b/templates/user/publickey.tmpl
@@ -21,7 +21,7 @@
</ul>
<div class="modal fade" id="ssh-add-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
- <form class="modal-content form-horizontal" id="ssh-form" method="post" action="/user/setting/ssh/">
+ <form class="modal-content form-horizontal" id="ssh-form" method="post" action="/user/settings/ssh/">
{{.CsrfTokenHtml}}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
diff --git a/templates/user/setting.tmpl b/templates/user/setting.tmpl
index a81f8bf61f..56d859fe41 100644
--- a/templates/user/setting.tmpl
+++ b/templates/user/setting.tmpl
@@ -5,7 +5,7 @@
<div id="user-setting-container" class="col-md-9">
<div id="setting-pwd">
<h4>Account Profile</h4>
- <form class="form-horizontal" id="password-form" method="post" action="/user/setting">
+ <form class="form-horizontal" id="password-form" method="post" action="/user/settings">
{{.CsrfTokenHtml}}
{{template "base/alert" .}}
<p>Your Email address is public and will be used for any account related notifications, and any web based operations made via the site.</p>