Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Step 4.13: Add confirmation view
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<ion-view title="{{ confirmation.phone }}"> | ||
<ion-nav-buttons side="right"> | ||
<button ng-click="confirmation.confirm()" ng-disabled="!confirmation.code || confirmation.code.length === 0" class="button button-clear button-positive">Done</button> | ||
</ion-nav-buttons> | ||
|
||
<ion-content> | ||
<div class="text-center padding"> | ||
We have sent you an SMS with a code to the number above | ||
</div> | ||
<div class="text-center padding"> | ||
To complete your phone number verification WhatsApp, please enter the 4-digit activation code. | ||
</div> | ||
|
||
<div class="list padding-top"> | ||
<label class="item item-input"> | ||
<input ng-model="confirmation.code" on-return="confirmation.confirm()" type="text" placeholder="Code"> | ||
</label> | ||
</div> | ||
</ion-content> | ||
</ion-view> |