|
|
|
@ -87,19 +87,19 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':partnerForm.company_name.$dirty}">
|
|
|
|
|
ng-class="{'has-error':partnerForm.store_name.$invalid && partnerForm.store_name.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="store-name-input">
|
|
|
|
|
Store Name</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="partner.store_name"
|
|
|
|
|
type="text"
|
|
|
|
|
id="store-name-input" name="store_name"
|
|
|
|
|
maxlength="15">
|
|
|
|
|
maxlength="15" required>
|
|
|
|
|
<p class="small text-info">store name for WeChat payment display and partner name</p>
|
|
|
|
|
<div ng-messages="partnerForm.company_name.$error"
|
|
|
|
|
ng-if="partnerForm.company_name.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Less
|
|
|
|
|
Than 15
|
|
|
|
|
<div ng-messages="partnerForm.store_name.$error"
|
|
|
|
|
ng-if="partnerForm.store_name.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Less Than 50
|
|
|
|
|
Characters(including symbols and spaces)</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
@ -156,23 +156,24 @@
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|
ng-class="{'has-error':partnerForm.company_name.$dirty}">
|
|
|
|
|
ng-class="{'has-error':partnerForm.store_name.$invalid && partnerForm.store_name.$dirty}">
|
|
|
|
|
<label class="control-label col-sm-2" for="store-name-input">
|
|
|
|
|
Store Name</label>
|
|
|
|
|
* Store Name</label>
|
|
|
|
|
<div class="col-sm-8">
|
|
|
|
|
<input class="form-control" ng-model="partner.store_name"
|
|
|
|
|
type="text"
|
|
|
|
|
id="store-name-input" name="store_name"
|
|
|
|
|
maxlength="15">
|
|
|
|
|
maxlength="15" required>
|
|
|
|
|
<p class="small text-info">store name for WeChat payment display and partner name</p>
|
|
|
|
|
<div ng-messages="partnerForm.company_name.$error"
|
|
|
|
|
ng-if="partnerForm.company_name.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Less
|
|
|
|
|
Than 15
|
|
|
|
|
<div ng-messages="partnerForm.store_name.$error"
|
|
|
|
|
ng-if="partnerForm.store_name.$dirty">
|
|
|
|
|
<p class="small text-danger" ng-message="required">Required Field</p>
|
|
|
|
|
<p class="small text-danger" ng-message="maxlength">Less Than 50
|
|
|
|
|
Characters(including symbols and spaces)</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="form-group"
|
|
|
|
|