diff --git a/plinth/modules/pagekite/forms.py b/plinth/modules/pagekite/forms.py index caaae4c12..496b5e668 100644 --- a/plinth/modules/pagekite/forms.py +++ b/plinth/modules/pagekite/forms.py @@ -24,22 +24,6 @@ class TrimmedCharField(forms.CharField): return super(TrimmedCharField, self).clean(value) -class SubdomainWidget(forms.widgets.TextInput): - """Append the domain to the subdomain bootstrap input field""" - def __init__(self, domain, *args, **kwargs): - """Initialize the widget by storing the domain value.""" - super().__init__(*args, **kwargs) - self.domain = domain - - def render(self, *args, **kwargs): - """Return the HTML for the widget.""" - inputfield = super().render(*args, **kwargs) - return """
- {0} - {1} -
""".format(inputfield, self.domain) - - class ConfigurationForm(forms.Form): """Configure PageKite credentials and frontend"""