made registration disableable
This commit is contained in:
@@ -39,7 +39,7 @@ func Home(w http.ResponseWriter, r *http.Request) {
|
||||
err := home.Execute(w, struct {
|
||||
Name string
|
||||
}{
|
||||
Name: "Miau",
|
||||
Name: "Home",
|
||||
})
|
||||
if err != nil {
|
||||
return
|
||||
@@ -51,7 +51,7 @@ func Dashboard(w http.ResponseWriter, r *http.Request) {
|
||||
err := dashboard.ExecuteTemplate(w, "base.html", struct {
|
||||
Title string
|
||||
}{
|
||||
Title: "Miau",
|
||||
Title: "Dashboard",
|
||||
})
|
||||
if err != nil {
|
||||
return
|
||||
@@ -62,7 +62,7 @@ func Inventory(w http.ResponseWriter, r *http.Request) {
|
||||
err := inventory.ExecuteTemplate(w, "base.html", struct {
|
||||
Title string
|
||||
}{
|
||||
Title: "Miau",
|
||||
Title: "Inventory",
|
||||
})
|
||||
if err != nil {
|
||||
return
|
||||
@@ -73,7 +73,7 @@ func Items(w http.ResponseWriter, r *http.Request) {
|
||||
err := item.ExecuteTemplate(w, "base.html", struct {
|
||||
Title string
|
||||
}{
|
||||
Title: "Miau",
|
||||
Title: "Items",
|
||||
})
|
||||
if err != nil {
|
||||
return
|
||||
@@ -84,7 +84,7 @@ func Locations(w http.ResponseWriter, r *http.Request) {
|
||||
err := locations.ExecuteTemplate(w, "base.html", struct {
|
||||
Title string
|
||||
}{
|
||||
Title: "Miau",
|
||||
Title: "Locations",
|
||||
})
|
||||
if err != nil {
|
||||
return
|
||||
@@ -95,7 +95,7 @@ func Projects(w http.ResponseWriter, r *http.Request) {
|
||||
err := projects.ExecuteTemplate(w, "base.html", struct {
|
||||
Title string
|
||||
}{
|
||||
Title: "Miau",
|
||||
Title: "Projects",
|
||||
})
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user