var Setting = FormModel.extend({ blankSchema: { requireViewInvite: false, requirePostInvite: false, requirePostsApproval: false, title: '', theme: '', footerCode: '', analyticsCode: '', tlkioChannel: '', mixpanelId: '', clickyId:'', proxinoKey: '', goSquaredId: '', veroAPIKey: '', veroSecret: '', intercomId: '', logoUrl: '', logoHeight: '', logoWidth: '', scoreUpdateInterval: '', landingPageText: '', afterSignupText: '', notes: '', }, init: function(options) { this._super(Settings, options); this.overwriteTitle('requireViewInvite', 'Require Invite to view?'); this.overwriteTitle('requirePostInvite', 'Require Invite to post?'); this.overwriteTitle('requirePostsApproval', 'Posts must be approved by admin?'); this.overwriteTitle('title', 'Site Title'); this.overwriteTitle('tlkioChannel', 'Tlk.io Channel'); this.overwriteTitle('mixpanelId', 'Mixpanel ID'); this.overwriteTitle('clickyId', 'Clicky ID'); this.overwriteTitle('proxinoKey', 'Proxino key'); this.overwriteTitle('goSquaredId', 'GoSquared ID'); this.overwriteTitle('intercomId', 'Intercom ID'); this.overwriteTitle('veroAPIKey', 'Vero API key'); this.overwriteTitle('veroSecret', 'Vero secret'); this.overwriteTitle('logoUrl', 'Logo URL'); this.overwriteType('footerCode', 'textarea'); this.overwriteType('analyticsCode', 'textarea'); this.overwriteType('landingPageText', 'textarea'); this.overwriteType('afterSignupText', 'textarea'); this.overwriteType('notes', 'textarea'); this.makeSelect('theme', ['Default', 'Ascndr', 'Telescope']) } });