...
|
...
|
@@ -218,8 +218,11 @@
|
218
|
218
|
[:article {:class (styles/spell-list-panel)}
|
219
|
219
|
(heading "Spells")
|
220
|
220
|
[:ul
|
221
|
|
- (for [spell (sort-by :name spells)]
|
222
|
|
- [:li [:span (spell :name)][:span (-> spell short-spell-description parenthesize)]])]])
|
|
221
|
+ (for [[index spell] (enumerated (sort-by :name spells))]
|
|
222
|
+ ^{:key index}
|
|
223
|
+ [:li
|
|
224
|
+ [:span (spell :name)]
|
|
225
|
+ [:span (-> spell short-spell-description parenthesize)]])]])
|
223
|
226
|
|
224
|
227
|
(defn equipment-list-panel [items]
|
225
|
228
|
[:article {:class (styles/item-list-panel)}
|