diff --git a/docassemble/AssemblyLine/language.py b/docassemble/AssemblyLine/language.py index ad4a605..0529ca8 100644 --- a/docassemble/AssemblyLine/language.py +++ b/docassemble/AssemblyLine/language.py @@ -93,6 +93,7 @@ def get_language_list_dropdown( languages_path: Optional[str] = None, event_name="al_change_language", icon="fa-solid fa-language", + extra_class:str="text-light", ) -> str: """ Get a Bootstrap 5 dropdown menu for language selection that can be added to navigation bar. @@ -103,13 +104,13 @@ def get_language_list_dropdown( languages_path: the path to the languages.yml file (defaults to data/sources/languages.yml) event_name: the name of the event to trigger when the language is changed icon: the name of the icon to use for the dropdown menu (defaults to fa-solid fa-language) - + extra_class: additional classes to add to the link Returns: A string containing the HTML for a dropdown menu for language selection. """ list_start = f"""