From 388191d633cca52a6be36a59d99d66a59f83ff82 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Wed, 15 Dec 2021 13:52:46 -0300 Subject: [PATCH] [web] improvement: adding a placeholder to the address field on the installation form --- bauh/gems/web/controller.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bauh/gems/web/controller.py b/bauh/gems/web/controller.py index a809a258..f9fdb5df 100644 --- a/bauh/gems/web/controller.py +++ b/bauh/gems/web/controller.py @@ -485,7 +485,8 @@ class WebApplicationManager(SoftwareManager): def _ask_install_options(self, app: WebApplication, watcher: ProcessWatcher, pre_validated: bool) -> Tuple[bool, List[str]]: watcher.change_substatus(self.i18n['web.install.substatus.options']) - inp_url = TextInputComponent(label=self.i18n['address'].capitalize() + ' (URL)', capitalize_label=False, value=app.url, read_only=pre_validated) + inp_url = TextInputComponent(label=self.i18n['address'].capitalize() + ' (URL)', capitalize_label=False, value=app.url, + read_only=pre_validated, placeholder=f"({self.i18n['example.short']}: https://myapp123.com)") inp_name = TextInputComponent(label=self.i18n['name'], value=app.name) inp_desc = TextInputComponent(label=self.i18n['description'], value=app.description)