<template name="OverrideAtForm">
	{{#unless hide}}
		<div class="at-form">
			<!--{{#if showTitle}}-->
				<!--{{> atTitle}}-->
			<!--{{/if}}-->
			{{#if showOauthServices}}
				{{> atOauth}}
			{{/if}}
			{{#if showServicesSeparator}}
				{{> atSep}}
			{{/if}}
			{{#if showError}}
				{{> atError}}
			{{/if}}
			{{#if showResult}}
				{{> atResult}}
			{{/if}}
			{{#if showMessage}}
				{{> atMessage}}
			{{/if}}
			{{#if showPwdForm}}
				{{> OverrideAtPwdForm}}
			{{/if}}
			{{#if showTermsLink}}
				{{> atTermsLink}}
			{{/if}}
			{{#if showSignInLink}}
				{{> atSigninLink}}
			{{/if}}
			{{#if showSignUpLink}}
				{{> atSignupLink}}
			{{/if}}
			{{#if showResendVerificationEmailLink}}
				{{> atResendVerificationEmailLink}}
			{{/if}}
		</div>
	{{/unless}}
</template>

<template name="OverrideAtPwdForm">
	<div class="at-pwd-form">
		<form role="form" id="at-pwd-form" novalidate action="#" method="POST">
			<fieldset {{disabled}}>
				{{#each fields}}
					{{> atInput}}
				{{/each}}
				{{#if showReCaptcha}}
					{{> atReCaptcha}}
				{{/if}}
				{{> atPwdFormBtn}}
				{{#if showForgotPasswordLink}}
					{{> atPwdLink}}
				{{/if}}
			</fieldset>
		</form>
	</div>
</template>
