summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2023-03-05 19:10:49 -0800
committercolin <colin@cicadas.surf>2023-03-05 19:10:49 -0800
commitc06de3e0ee54c183fc8bb12c1fb5686694876eae (patch)
tree6d99f667a50f5481791bd624dfab83a2792f897d /src/views
parenta366144c49a8a69722a422f401622a76d3076b8e (diff)
Fix: many little bugs
Diffstat (limited to 'src/views')
-rw-r--r--src/views/hero.lisp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/views/hero.lisp b/src/views/hero.lisp
index 7387901..31fa169 100644
--- a/src/views/hero.lisp
+++ b/src/views/hero.lisp
@@ -4,8 +4,8 @@
(defrender :list-item ((hero hero))
(with-html
- (with-slots ((name campaign) hero)
+ (with-slots (name quest) hero
(:p name "the" (hero-class hero) (hero-title hero)
- (when campaign
- (:span "who is off in the campaign")
- (:span (render :inline campaign)))))))
+ (when quest
+ (:span "who is off in on a quest: ")
+ (:span (render :inline quest)))))))