|
|
|
@ -43,8 +43,30 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':accountForm.phone.$invalid && accountForm.phone.$dirty}">
|
|
|
|
|
<label class="control-label" for="phone-input">Phone</label>
|
|
|
|
|
<input class="form-control" type="text" id="phone-input" name="phone"
|
|
|
|
|
ng-model="manager.phone">
|
|
|
|
|
<div>
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<div class="input-group">
|
|
|
|
|
<div class="input-group-addon">+</div>
|
|
|
|
|
<input class="form-control" required type="text"
|
|
|
|
|
ng-model="manager.nation_code"
|
|
|
|
|
name="nation_code" id="nation_code"
|
|
|
|
|
maxlength="3" minlength="1"
|
|
|
|
|
placeholder="country code">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div ng-messages="accountForm.nation_code.$error"
|
|
|
|
|
ng-if="accountForm.nation_code.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required
|
|
|
|
|
Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Less
|
|
|
|
|
Than 3 Characters</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
<input class="form-control" type="text" id="phone-input" name="phone"
|
|
|
|
|
ng-model="manager.phone">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group" ng-class="{'has-error':accountForm.wechat.$invalid && accountForm.wechat.$dirty}">
|
|
|
|
|
<label class="control-label" for="wechat-input">WeChat Account</label>
|
|
|
|
@ -140,4 +162,4 @@
|
|
|
|
|
<div class="btn-group">
|
|
|
|
|
<button class="btn btn-danger" type="button" ng-click="$dismiss()">Cancel</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|