@@ -214,11 +214,14 @@ comment: |
214214 format:str='pdf',
215215 view:bool=True,
216216 refresh:bool=True,
217- include_zip:bool = True,
218- view_label="View",
217+ include_zip:bool= True,
218+ view_label:str ="View",
219219 view_icon:str="eye",
220220 download_label:str="Download",
221221 download_icon:str="download",
222+ include_email:bool=False,
223+ send_label:str="Send",
224+ send_icon:str="envelope",
222225 zip_label:str="Download zip",
223226 zip_icon:str="file-archive"
224227id : download_list_html_custom_1
@@ -231,21 +234,21 @@ subquestion: |
231234 - Keep "view" as True
232235 - Keep "include_zip" as True
233236
234- multi_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", zip_label="Custom zip label", zip_icon="clock" )
237+ multi_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", include_email=True, send_label="Custom send label", send_icon="search", zip_label="Custom zip label", zip_icon="clock" )
235238
236- ${ multi_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", zip_label="Custom zip label", zip_icon="clock" ) }
239+ ${ multi_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", include_email=True, send_label="Custom send label", send_icon="search", zip_label="Custom zip label", zip_icon="clock" ) }
237240
238241 ---
239242
240- single_pdf_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", zip_label="Custom zip label", zip_icon="clock" )
243+ single_pdf_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", include_email=True, send_label="Custom send label", send_icon="search", zip_label="Custom zip label", zip_icon="clock" )
241244
242- ${ single_pdf_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", zip_label="Custom zip label", zip_icon="clock" ) }
245+ ${ single_pdf_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", include_email=True, send_label="Custom send label", send_icon="search", zip_label="Custom zip label", zip_icon="clock" ) }
243246
244247 ---
245248
246- single_docx_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", zip_label="Custom zip label", zip_icon="clock" )
249+ single_docx_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", include_email=True, send_label="Custom send label", send_icon="search", zip_label="Custom zip label", zip_icon="clock" )
247250
248- ${ single_docx_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", zip_label="Custom zip label", zip_icon="clock" ) }
251+ ${ single_docx_bundle_1.download_list_html( key="test_key", format="docx", refresh=False, view_label="Custom view label", view_icon="circle", download_label="Custom download label", download_icon="square", include_email=True, send_label="Custom send label", send_icon="search", zip_label="Custom zip label", zip_icon="clock" ) }
249252
250253 ---
251254 ---
@@ -329,21 +332,45 @@ subquestion: |
329332id : email_custom
330333continue button field : email_custom
331334question : |
332- send_button_html() with custom args
335+ send_button_html() and send_button_to_html() with custom args
333336subquestion : |
334- multi_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False )
337+ ##### send_button_html()
338+
339+ Send button which allows the user to edit the email address.
340+
341+ multi_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False, label="Custom send label", icon="search" )
342+
343+ ${ multi_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False, label="Custom send label", icon="search" ) }
344+
345+ ---
346+ single_pdf_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False, label="Custom send label", icon="search" )
347+
348+ ${ single_pdf_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False, label="Custom send label", icon="search" ) }
349+
350+ ---
351+ single_docx_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False, label="Custom send label", icon="search" )
352+
353+ ${ single_docx_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False, label="Custom send label", icon="search" ) }
354+
355+ ---
356+
357+ ##### send_button_to_html()
358+
359+ Send button that hides the recipient's email address.
360+
361+ multi_bundle_1.send_button_to_html( "happy_feet@example.com", key="test_key", label="Custom send label", icon="search" )
335362
336- ${ multi_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False ) }
363+ ${ multi_bundle_1.send_button_to_html( "happy_feet@example.com", key="test_key", label="Custom send label", icon="search" ) }
337364
338365 ---
339- single_pdf_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False )
366+ single_pdf_bundle_1.send_button_to_html( "happy_feet@example.com", key="test_key", label="Custom send label", icon="search" )
340367
341- ${ single_pdf_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False ) }
368+ ${ single_pdf_bundle_1.send_button_to_html( "happy_feet@example.com", key="test_key", label="Custom send label", icon="search" ) }
342369
343370 ---
344- single_docx_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False )
371+ single_docx_bundle_1.send_button_to_html( "happy_feet@example.com", key="test_key", label="Custom send label", icon="search" )
345372
346- ${ single_docx_bundle_1.send_button_html( key="test_key", show_editable_checkbox=False ) }
373+ ${ single_docx_bundle_1.send_button_to_html( "happy_feet@example.com", key="test_key", label="Custom send label", icon="search" ) }
347374
348375 ---
349376 ---
0 commit comments