import { Template } from 'meteor/templating'; import './accounts.html'; // Simply 'inherits' helpers from AccountsTemplates Template.OverrideAtForm.helpers(AccountsTemplates.atFormHelpers); // Simply 'inherits' helpers and events from AccountsTemplates Template.OverrideAtPwdForm.helpers(AccountsTemplates.atPwdFormHelpers); Template.OverrideAtPwdForm.events(AccountsTemplates.atPwdFormEvents); // We identified the templates that need to be overridden by looking at the available templates // here: https://github.com/meteor-useraccounts/unstyled/tree/master/lib // Template['override-atPwdFormBtn'].replaces('atPwdFormBtn'); // Template['override-atPwdForm'].replaces('atPwdForm'); // Template['override-atTextInput'].replaces('atTextInput'); // Template['override-atTitle'].replaces('atTitle'); // Template['override-atError'].replaces('atError');