Rename template to login

This commit is contained in:
Jan Bader 2016-12-07 17:02:40 +01:00
parent f74b7ab078
commit 39141ab2e6
2 changed files with 3 additions and 1 deletions

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) {

View File

@ -1,3 +1,4 @@
{{define "login"}}
<!DOCTYPE html>
<html>
<head>
@ -40,3 +41,4 @@
</div>
</body>
</html>
{{end}}