summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-03-02 22:25:13 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-03-02 22:25:13 +0800
commitc5132b87a604506e2af0ad0322c9ccd76fe05987 (patch)
tree7730a478751b80ab6421decaaf3dfc8ed0a7cdbc /templates
parentc4c23b3f7964c068ed31c308f39961a761c8995e (diff)
downloadgitea-c5132b87a604506e2af0ad0322c9ccd76fe05987.tar.gz
gitea-c5132b87a604506e2af0ad0322c9ccd76fe05987.zip
finished signin and login
Diffstat (limited to 'templates')
-rw-r--r--templates/base/error.tmpl6
-rw-r--r--templates/user/signin.tmpl2
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/base/error.tmpl b/templates/base/error.tmpl
new file mode 100644
index 0000000000..8d3c36be9a
--- /dev/null
+++ b/templates/base/error.tmpl
@@ -0,0 +1,6 @@
+{{template "base/head" .}}
+{{template "base/navbar" .}}
+<div id="gogs-body" class="container">
+ An error is occupied : {{.Error}}
+</div>
+{{template "base/footer" .}} \ No newline at end of file
diff --git a/templates/user/signin.tmpl b/templates/user/signin.tmpl
index dcdeaa77c5..c3a3131f5d 100644
--- a/templates/user/signin.tmpl
+++ b/templates/user/signin.tmpl
@@ -1,7 +1,7 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
<div class="container" id="gogs-body">
- <form action="/user/signup" method="post" class="form-horizontal" id="gogs-login-card">
+ <form action="/user/signin" method="post" class="form-horizontal" id="gogs-login-card">
<h3>Log in</h3>
<div class="form-group">
<label class="col-md-4 control-label">Username or Email: </label>