2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/maintenance.git synced 2023-12-14 03:33:04 +01:00

hydra/goggles: Remove children of INPUT tags.

* hydra/goggles.scm (index, search-results): Remove child of input tag.
This commit is contained in:
Ricardo Wurmus 2020-05-08 10:06:14 +02:00
parent 3053e43e6c
commit ea6a31b791
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -399,7 +399,7 @@ freenode." channel))
(form
(@ (action ,(string-append channel "/search")))
(input (@ (name "query")
(placeholder "nick:rekado frobnicate")) "")
(placeholder "nick:rekado frobnicate")))
(button (@ (type "submit")) ,looking-glass))
(div
(@ (class "years"))
@ -427,7 +427,7 @@ freenode." channel))
(form
(@ (action "search"))
(input (@ (name "query")
(placeholder "nick:rekado frobnicate")) "")
(placeholder "nick:rekado frobnicate")))
(button (@ (type "submit")) ,looking-glass))
,@(if (and query (not (string-null? query)))
(let* ((results (search (format #f "channel:~a ~a" channel query))))