diff --git a/plinth/modules/dynamicdns/dynamicdns.py b/plinth/modules/dynamicdns/dynamicdns.py index 46843ae00..e7a261376 100644 --- a/plinth/modules/dynamicdns/dynamicdns.py +++ b/plinth/modules/dynamicdns/dynamicdns.py @@ -98,6 +98,11 @@ class ConfigureForm(forms.Form): help_text=_('You should have been requested to select a password \ when you created the account.')) + showpw = forms.BooleanField(label=_('show password'), + required=False, + widget=forms.CheckboxInput + (attrs={'onclick': 'show_pass();'})) + dynamicdns_ipurl = TrimmedCharField( label=_('IP check URL'), required=False, diff --git a/plinth/modules/dynamicdns/templates/dynamicdns_configure.html b/plinth/modules/dynamicdns/templates/dynamicdns_configure.html index ade236ba9..630eabca7 100644 --- a/plinth/modules/dynamicdns/templates/dynamicdns_configure.html +++ b/plinth/modules/dynamicdns/templates/dynamicdns_configure.html @@ -30,5 +30,16 @@ - +{% endblock %} + +{% block page_js %} + {% endblock %}