Created
February 16, 2015 13:59
-
-
Save vitaliy-bobrov/24df72c66281fb6c7485 to your computer and use it in GitHub Desktop.
Tutorial App part 5 - register.html
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
<ion-modal-view> | |
<ion-header-bar> | |
<h1 class="title">Registration</h1> | |
<div class="buttons"> | |
<button class="button button-assertive" ng-click="closeRegister()">Close</button> | |
</div> | |
</ion-header-bar> | |
<ion-content class="padding"> | |
<form ng-submit="doRegistration()" class="list"> | |
<label class="item item-input"> | |
<span class="input-label">Usename</span> | |
<input type="text" ng-model="registerData.username"> | |
</label> | |
<label class="item item-input"> | |
<span class="input-label">Email</span> | |
<input type="email" ng-model="registerData.email"> | |
</label> | |
<label class="item item-input"> | |
<span class="input-label">Password</span> | |
<input type="password" ng-model="registerData.password"> | |
</label> | |
<button class="button button-block button-balanced" type="submit">Register</button> | |
</form> | |
<div class="card" ng-show="registerError" ng-repeat="error in registerError"> | |
<div class="item item-text-wrap assertive"> | |
<i class="icon ion-alert-circled"></i> | |
<span ng-bind-html="error"></span> | |
</div> | |
</div> | |
</ion-content> | |
</ion-modal-view> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment