mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Notification settings added to the UI
This commit is contained in:
@@ -12,6 +12,14 @@ Handlebars.registerHelper('formField', function () {
|
||||
return Handlebars.helpers.partial.apply(this, ['Form/TextboxTemplate']);
|
||||
}
|
||||
|
||||
if (this.type === 'password') {
|
||||
return Handlebars.helpers.partial.apply(this, ['Form/PasswordTemplate']);
|
||||
}
|
||||
|
||||
if (this.type === 'checkbox') {
|
||||
return Handlebars.helpers.partial.apply(this, ['Form/CheckboxTemplate']);
|
||||
}
|
||||
|
||||
return Handlebars.helpers.partial.apply(this, ['Form/TextboxTemplate']);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user