23 lines
1.5 KiB
HTML
23 lines
1.5 KiB
HTML
<article ng-controller="signupCtrlr">
|
|
<section class="item center border">
|
|
<h3>{{titles.form}}</h3> <br />
|
|
<form id="signupForm" name="signupForm" ng-submit="signup()" enctype="application/x-www-form-urlencoded">
|
|
<label for="username">Username: </label> <br />
|
|
<input type="text" name="username" ng-model="user.username" placeholder="Your username" required /> {{usernameError}} <br />
|
|
<label for="email">Email: </label> <br />
|
|
<input type="text" name="email" ng-model="user.email" placeholder="Your email" required /> {{emailError}}<br />
|
|
<label for="password">Password: </label> <br />
|
|
<input type="password" name="password" ng-model="user.password" placeholder="Your password" required />
|
|
<br />
|
|
<label for="password">Confirm Password: </label> <br />
|
|
<input type="password" name="confirmPassword" ng-model="user.confirmPassword"
|
|
placeholder="Your password, again" required /> {{passwordError}}<br />
|
|
<input type="submit" name="submit" ng-model="user.Submit" value="Sign Up" />
|
|
</form>
|
|
<p class="status" ng-show="status">{{signupStatus}}</p>
|
|
</section>
|
|
<section class="item center border" ng-show="success">
|
|
<h3>{{titles.success}}</h3>
|
|
<p>{{message.start}} <br /> {{message.line2}} <span class="link" ng-click="setLogin()">{{message.link}}</span> {{message.end}}</p>
|
|
</section>
|
|
</article> |