linstrom/frontend-reactive/app/components/util/mail-entry.hbs

11 lines
No EOL
308 B
Handlebars

<div class="mail-entry {{@wrapper-classes}}">
<label>
Email
<Input @type="text" @value={{this.args.data.mail}} placeholder="Email address" {{on "change" (fn this.checkMail)}}/>
</label>
{{#if this.mailOk}}
<p class="mail-ok">O</p>
{{else}}
<p class="mail-error">X</p>
{{/if}}
</div>