summaryrefslogtreecommitdiff
path: root/system/admin/admin.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-22 02:20:12 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-22 02:20:12 -0700
commit2bfa37f5c7b65eb3bcc8f757412e1ee400b3187c (patch)
tree5633cc24ce611673680e0c9f1448f4df6ca1ab77 /system/admin/admin.go
parent7f06b2f269e6d87e82131395cc9090a7a95753b5 (diff)
debugging user listing
Diffstat (limited to 'system/admin/admin.go')
-rw-r--r--system/admin/admin.go7
1 files changed, 1 insertions, 6 deletions
diff --git a/system/admin/admin.go b/system/admin/admin.go
index a5ced6d..dd291e5 100644
--- a/system/admin/admin.go
+++ b/system/admin/admin.go
@@ -5,7 +5,6 @@ package admin
import (
"bytes"
"encoding/json"
- "fmt"
"html/template"
"net/http"
@@ -293,8 +292,7 @@ func UsersList(req *http.Request) ([]byte, error) {
<ul class="users row">
<div class="card-title">Remove Admin Users</div>
{{ range .Users }}
- {{ if .Email}}
- <li class="col s12">
+ <li class="col s9">
{{ .Email }}
<form enctype="multipart/form-data" class="delete-user __ponzu right" action="/admin/configure/users/delete" method="post">
<span>Delete</span>
@@ -303,7 +301,6 @@ func UsersList(req *http.Request) ([]byte, error) {
</form>
<li>
{{ end }}
- {{ end }}
</ul>
</div>
`
@@ -357,8 +354,6 @@ func UsersList(req *http.Request) ([]byte, error) {
"Users": usrs,
}
- fmt.Println(data)
-
err = tmpl.Execute(buf, data)
if err != nil {
return nil, err