增加 store_name 提醒

master
luoyang 6 years ago
parent a289abd2fa
commit a0e2600382

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

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

Loading…
Cancel
Save