From 1e936a4d6201432cbb347ee621377523749c6b65 Mon Sep 17 00:00:00 2001 From: Drew Crampsie Date: Wed, 2 Nov 2005 23:30:15 -0800 Subject: [PATCH] slot presesntation enhancements darcs-hash:20051103073015-5417e-e136fdfb6e76b594239c09e94c8d77570ed0d10b.gz --- src/slot-presentations.lisp | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/slot-presentations.lisp b/src/slot-presentations.lisp index b90128e..4dcbecc 100644 --- a/src/slot-presentations.lisp +++ b/src/slot-presentations.lisp @@ -43,7 +43,8 @@ :documentation "When nil, the instance is syncronised with the database. When T, only the default value for primary keys and the joins are updated.") - (show-label-p :accessor show-label-p :initarg :show-label-p :initform t)) + (show-label-p :accessor show-label-p :initarg :show-label-p :initform t) + (creatablep :accessor creatablep :initarg :creatablep :initform t)) (:documentation "The superclass of all Mewa slot presentations")) ;;;; this has to be in the eval when i would think @@ -250,7 +251,7 @@ Calendar.setup({ :linkedp t :editablep nil))) (<:as-html string)))) - (<:table + (<:table :cellpadding 10 (<:tr (<:th) ;empty col for (view) link (dolist (s (slots presentation)) @@ -347,7 +348,8 @@ Calendar.setup({ :initargs `(:attributes ,(attributes slot))) )))) - (