增加 store_name 提醒

master
luoyang 6 years ago
parent a289abd2fa
commit a0e2600382

@ -113,7 +113,7 @@
<div class="col-sm-8">
<input class="form-control" ng-model="partner.store_name"
type="text"
name="short_name" id="store-name-input"
name="store_name" id="store-name-input"
maxlength="15">
<p class="small text-info">store name for WeChat payment display
and partner

@ -86,14 +86,22 @@
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2" for="store-name-input">Store Name</label>
<div class="form-group"
ng-class="{'has-error':partnerForm.company_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"
name="store_name"
id="store-name-input" maxlength="15">
<p class="small text-info">store name for WeChat payment display and partner
name</p>
<input class="form-control" ng-model="partner.store_name"
type="text"
id="store-name-input" name="store_name"
maxlength="15">
<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
Characters(including symbols and spaces)</p>
</div>
</div>
</div>
@ -146,15 +154,24 @@
</div>
</div>
</div>
<div class="form-group">
<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"
name="store_name"
id="store-name-input" maxlength="15">
<p class="small text-info">store name for WeChat payment display and partner
name</p>
</div>
<div class="form-group"
ng-class="{'has-error':partnerForm.company_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">
<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
Characters(including symbols and spaces)</p>
</div>
</div>
</div>
</div>

Loading…
Cancel
Save