forked from brmlab/brmelect-github
fix 23213
This commit is contained in:
parent
309084870b
commit
0c661a7724
1 changed files with 2 additions and 6 deletions
|
|
@ -37,11 +37,7 @@
|
||||||
(host . "localhost"))))
|
(host . "localhost"))))
|
||||||
|
|
||||||
(define (query-db sql . params)
|
(define (query-db sql . params)
|
||||||
(apply query* db sql params))
|
(apply query db sql params))
|
||||||
|
|
||||||
(define (exec sql . params)
|
|
||||||
(apply exec* db sql params))
|
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; helpers
|
;; helpers
|
||||||
|
|
@ -161,7 +157,7 @@ ORDER BY vote_id" id)))
|
||||||
(method "POST")]
|
(method "POST")]
|
||||||
@table{
|
@table{
|
||||||
@tr{ @th{"New Vote Title"} @th{}}
|
@tr{ @th{"New Vote Title"} @th{}}
|
||||||
@tr{ @td{@input[(name "vote-title")]} @td{@input[type="submit" value="Create Vote"]}}}
|
@tr{ @td{@input[(name "vote-title")]} @td{@input[(type "submit") (value "Create Vote")]}}}
|
||||||
@table{
|
@table{
|
||||||
@tr{ @th{ID} @th{Title} @th{Start} @th{End} @th{Active} @th{Actions}}
|
@tr{ @th{ID} @th{Title} @th{Start} @th{End} @th{Active} @th{Actions}}
|
||||||
@,@(row-map*
|
@,@(row-map*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue