Skip to content

Commit

Permalink
-Fixed brainfart (changed name-field to correct (name field) meth…
Browse files Browse the repository at this point in the history
…od call)
  • Loading branch information
ingram committed Sep 8, 2011
1 parent 8c44c53 commit 9894fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formlets.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
(defmacro define-show (field-type &body body)
`(defmethod show ((field ,field-type) &optional value error)
(html-to-str
(:li :class (string-downcase (name-field))
(:li :class (string-downcase (name field))
(:span :class "label" (str (string-capitalize (regex-replace-all "-" (name field) " "))))
,@body
(when error (htm (:span :class "formlet-error"
Expand Down

0 comments on commit 9894fed

Please sign in to comment.