Rename template to login

This commit is contained in:
jacob1123 committed 2016-12-07 17:02:40 +01:00
1 parent f74b7ab078
commit 39141ab2e6
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ func login(c *gin.Context) {
return
}
c.HTML(http.StatusOK, "login.html", nil)
c.HTML(http.StatusOK, "login", nil)
}
func logout(c *gin.Context) {
+2
View File
@@ -1,3 +1,4 @@
{{define "login"}}
<!DOCTYPE html>
<html>
<head>
@@ -40,3 +41,4 @@
</div>
</body>
</html>
{{end}}