Permalink
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (19 sloc) 373 Bytes
metadata:
title: Capitalize
example start: 2
example end: 2
documentation: "https://docassemble.org/docs/functions.html#capitalize"
---
modules:
- docassemble.base.util
---
question: |
${ capitalize(color) } is your
favorite color, but ${ color } is
not your favorite color of eggs.
sets: all_done
---
mandatory: True
code: |
color = 'green'
all_done