增加 store_name提醒

master
luoyang 6 years ago
parent 6824fda05d
commit 8464e51c9f

@ -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}">
<label class="control-label col-sm-2" for="store-name-input">
Store Name</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input class="form-control" ng-model="partner.store_name" type="text" <input class="form-control" ng-model="partner.store_name"
name="store_name" type="text"
id="store-name-input" maxlength="15"> id="store-name-input" name="store_name"
<p class="small text-info">store name for WeChat payment display and partner maxlength="15">
name</p> <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,15 +154,24 @@
</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"
</div> 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>

Loading…
Cancel
Save