diff --git a/couchpotato/core/plugins/searcher/__init__.py b/couchpotato/core/plugins/searcher/__init__.py index 1fc6f3f..a6dd691 100644 --- a/couchpotato/core/plugins/searcher/__init__.py +++ b/couchpotato/core/plugins/searcher/__init__.py @@ -24,6 +24,7 @@ config = [{ 'name': 'required_words', 'label': 'Required words', 'default': '', + 'placeholder': 'Example: DTS, AC3 & English', 'description': 'Ignore releases that don\'t contain at least one set of words. Sets are separated by "," and each word within a set must be separated with "&"' }, { diff --git a/couchpotato/static/scripts/page/settings.js b/couchpotato/static/scripts/page/settings.js index f4afc84..44ae0f6 100644 --- a/couchpotato/static/scripts/page/settings.js +++ b/couchpotato/static/scripts/page/settings.js @@ -436,9 +436,14 @@ Option.String = new Class({ self.input = new Element('input.inlay', { 'type': 'text', 'name': self.postName(), - 'value': self.getSettingValue() + 'value': self.getSettingValue(), + 'placeholder': self.getPlaceholder() }) ); + }, + + getPlaceholder: function(){ + return this.options.placeholder } });