|
|
|
@ -9,7 +9,7 @@
@@ -9,7 +9,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-class="{'has-error': error.field == 'phone'}"> |
|
|
|
|
<label class="control-label" for="phone_number" ng-if="error.field == 'phone'">Incorrect phone number</label> |
|
|
|
|
<input type="text" class="form-control" name="phone_number" ng-model="credentials.phone_number" placeholder="Enter your phone" required> |
|
|
|
|
<input type="tel" class="form-control" name="phone_number" ng-model="credentials.phone_number" placeholder="Enter your phone" required> |
|
|
|
|
</div> |
|
|
|
|
<button class="btn btn-tg btn-block" ng-class="{disabled: progress.enabled}" ng-disabled="progress.enabled" type="submit"> |
|
|
|
|
{{progress.enabled ? 'Generating keys...' : 'Next'}} |
|
|
|
@ -28,7 +28,7 @@
@@ -28,7 +28,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="form-group" ng-class="{'has-error': error.field == 'phone_code'}"> |
|
|
|
|
<label class="control-label" for="phone_code" ng-if="error.field == 'phone_code'">Incorrect SMS code</label> |
|
|
|
|
<input type="text" class="form-control" name="phone_code" ng-model="credentials.phone_code" placeholder="Enter your code" required> |
|
|
|
|
<input type="number" maxlength="5" class="form-control" name="phone_code" ng-model="credentials.phone_code" placeholder="Enter your code" required> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<button class="btn btn-tg btn-block" type="submit" ng-class="{disabled: progress.enabled}" ng-disabled="progress.enabled"> |
|
|
|
|