Permalink
Browse files

Step 22.10: Add a form with phone number to provide

  • Loading branch information...
1 parent 072b120 commit d5122a4e712f128bd6acfb46cf3ded41889aa5ec @dotansimha dotansimha committed with DAB0mB Sep 27, 2016
Showing with 10 additions and 0 deletions.
  1. +10 −0 client/imports/app/auth/login.component.mobile.html
@@ -9,6 +9,16 @@
<p class="md-body-2"> Sign in with SMS</p>
</div>
+ <form [formGroup]="phoneForm" #f="ngForm" (ngSubmit)="send()"
+ layout="column" layout-fill layout-padding layout-margin>
+
+ <md-input formControlName="phone" type="text" placeholder="Phone"></md-input>
+
+ <div layout="row" layout-align="space-between center">
+ <button md-raised-button class="md-primary" type="submit" aria-label="send">Send SMS</button>
+ </div>
+ </form>
+
<div [hidden]="error == ''">
<md-toolbar class="md-warn" layout="row" layout-fill layout-padding layout-margin>
<p class="md-body-1">{{ error }}</p>

0 comments on commit d5122a4

Please sign in to comment.