22 lines
549 B
Handlebars
22 lines
549 B
Handlebars
{{page-title 'Login'}}
|
|
|
|
<form {{on 'submit' this.authenticate}}>
|
|
<label for='identification'>Login</label>
|
|
<input
|
|
id='identification'
|
|
placeholder='Enter Login'
|
|
value={{this.identification}}
|
|
{{on 'change' this.updateIdentification}}
|
|
/>
|
|
<label for='password'>Password</label>
|
|
<input
|
|
id='password'
|
|
placeholder='Enter Password'
|
|
value={{this.password}}
|
|
{{on 'change' this.updatePassword}}
|
|
/>
|
|
<button type='submit'>Login</button>
|
|
{{#if this.errorMessage}}
|
|
<p>{{this.errorMessage}}</p>
|
|
{{/if}}
|
|
</form>
|