diff --git a/LICENSE b/LICENSE
index e93d405f..be2f1ae9 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2022 AssemblyLine
+Copyright (c) 2023 AssemblyLine
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/docassemble/ALToolbox/data/questions/collapse_template_demo.yml b/docassemble/ALToolbox/data/questions/collapse_template_demo.yml
index 53d95519..678d54f8 100644
--- a/docassemble/ALToolbox/data/questions/collapse_template_demo.yml
+++ b/docassemble/ALToolbox/data/questions/collapse_template_demo.yml
@@ -39,11 +39,20 @@ subquestion: |
What is your favorite fruit? Everybody has a favorite fruit.
${ collapse_template(fruit_explanation, closed_icon="plus", open_icon="minus") }
+
Don't you have a favorite fruit?
+
${ collapse_template(favorite_explanation) }
+
You must have a favorite.
fields:
- Favorite fruit: favorite_fruit
+css: |
+
---
mandatory: True
question: |
diff --git a/docassemble/ALToolbox/data/questions/display_template_demo.yml b/docassemble/ALToolbox/data/questions/display_template_demo.yml
index 5224a82e..da348610 100644
--- a/docassemble/ALToolbox/data/questions/display_template_demo.yml
+++ b/docassemble/ALToolbox/data/questions/display_template_demo.yml
@@ -31,8 +31,8 @@ subquestion: |
1. **copy** (default=False)
- It adds a copy button under the template for users to copy/share the template content.
- This feature applies the **copy_button_html()** function to template content. See [copy button demo](${interview_url(i=user_info().package + ":copy_button_demo.yml")}).
- 1. **class_name** (default=None)
- - To style your template, include a class_name input in the call, and add your css rules either on the screen or to a .css file.
+ 1. **classname** (default="bg-light")
+ - To style your template content, include a `classname` keyword argument when you call the function and add your css rules either on the screen or to a .css file.
You can mix and match these features. The following screens will show you how.
@@ -44,10 +44,13 @@ question: |
Scrollable examples
subquestion: |
##### Srollable only
- ${ display_template(my_template1) }
+ ${ display_template(my_template1) }
##### Style only
- ${ display_template(my_template2, scrollable=False, class_name="my_color")}
+ ${ display_template(my_template2, scrollable=False, classname="my_color") }
+
+ ##### Template with no subject
+ ${ display_template(template_no_subject) }
---
id: collapse and scrollable examples
continue button field: collapse_n_scrollable_examples
@@ -55,26 +58,28 @@ question: |
Collase and scrollable examples
subquestion: |
##### Collapse only with a style
- ${ display_template(my_template1, scrollable=False, collapse=True, class_name="my_color") }
+ ${ display_template(my_template1, scrollable=False, collapse=True, classname="my_color") }
##### Collapse and scrollable, without the copy button
${ display_template(my_template2, collapse=True) }
---
id: copy button examples
-continue button field: copy_button_examples
+event: copy_button_examples
question: |
Copy button examples
-fields:
- - html: