diff options
author | Steve <nilslice@gmail.com> | 2016-12-22 23:12:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-22 23:12:59 -0800 |
commit | 5bde98ba1e2836de44c311b453ae9649deb685bd (patch) | |
tree | dbac01d4f6afb7473fabf6fbc9a649fc72a1a051 /system/admin | |
parent | 02b396de26ca7f58b8e8134fbaa098f5af49b911 (diff) | |
parent | 29959dc55482b04388bc0c8a426650215ac3d5b2 (diff) |
Merge pull request #25 from ponzu-cms/ponzu-dev
[core] Repeatable form input elements
Diffstat (limited to 'system/admin')
-rw-r--r-- | system/admin/handlers.go | 3 | ||||
-rw-r--r-- | system/admin/static/dashboard/css/admin.css | 9 |
2 files changed, 11 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go index e1487c5..ff30040 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -1403,10 +1403,11 @@ func editHandler(res http.ResponseWriter, req *http.Request) { if req.PostForm.Get(key) == "" { req.PostForm.Set(key, v[0]) - discardKeys = append(discardKeys, k) } else { req.PostForm.Add(key, v[0]) } + + discardKeys = append(discardKeys, k) } } diff --git a/system/admin/static/dashboard/css/admin.css b/system/admin/static/dashboard/css/admin.css index 8d2fb89..9cba7d0 100644 --- a/system/admin/static/dashboard/css/admin.css +++ b/system/admin/static/dashboard/css/admin.css @@ -185,6 +185,11 @@ li:hover .quick-delete-post, li:hover .delete-user { padding: 20px; } +.controls button { + padding: 0px 10px 5px 10px; + position: relative; + top: -10px; +} /* OVERRIDE Bootstrap + Materialize conflicts */ .iso-texteditor.input-field label { @@ -216,4 +221,8 @@ li:hover .quick-delete-post, li:hover .delete-user { .approve-details { text-align: right; padding: 10px 0 !important; +} + +select { + border: 1px solid #e2e2e2; }
\ No newline at end of file |