mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 10:40:45 -08:00
fixed form image control
This commit is contained in:
parent
6e1fa03ab9
commit
3a2a09c1aa
2 changed files with 7 additions and 0 deletions
|
|
@ -816,6 +816,10 @@
|
|||
:create-type :form
|
||||
:create-param :image
|
||||
:create-value ""
|
||||
:setup ,(lambda (control content control-record)
|
||||
(declare (ignore content) (ignore control-record))
|
||||
(setf (url-src control) "/img/clogicon.png")
|
||||
(setf (alt-text control) "Add image url"))
|
||||
:events (,@*events-element*)
|
||||
:properties (,@*props-form-element*))
|
||||
`(:name "month"
|
||||
|
|
|
|||
|
|
@ -477,6 +477,9 @@ not a temporary attached one when using select-control."
|
|||
(td2 (if (second item)
|
||||
(create-table-column tr :content (second item))
|
||||
(create-table-column tr))))
|
||||
(setf (width td1) "30%")
|
||||
(setf (width td2) "70%")
|
||||
(setf (spellcheckp td2) nil)
|
||||
(set-border td1 "1px" :dotted :black)
|
||||
(cond ((third item)
|
||||
(unless (eq (third item) :read-only)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue