subpartner add store_name

master
luoyang 6 years ago
parent 8d85414086
commit 5f12f2fc94

@ -58,13 +58,13 @@
<label class="control-label col-sm-2" for="short-name-input">* Short Name</label> <label class="control-label col-sm-2" for="short-name-input">* Short Name</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input class="form-control" ng-model="partner.short_name" type="text" <input class="form-control" ng-model="partner.short_name" type="text"
name="short_name" id="short-name-input" required maxlength="15"> name="short_name" id="short-name-input" required maxlength="50">
<p class="small text-info">short name for WeChat payment display and partner <p class="small text-info">short name for WeChat payment display and partner
name</p> name</p>
<div ng-messages="partnerForm.short_name.$error" <div ng-messages="partnerForm.short_name.$error"
ng-if="partnerForm.company_name.$dirty"> ng-if="partnerForm.company_name.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p> <p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="maxlength">Less Than 15 <p class="small text-danger" ng-message="maxlength">Less Than 50
Characters(including symbols and spaces)</p> Characters(including symbols and spaces)</p>
</div> </div>
</div> </div>
@ -82,6 +82,23 @@
</div> </div>
</div> </div>
</div> </div>
<div class="form-group"
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"
name="store_name" id="store-name-input" required maxlength="15">
<p class="small text-info">store name for WeChat payment display and partner
name</p>
<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 15
Characters(including symbols and spaces)</p>
</div>
</div>
</div>
<div class="form-group" <div class="form-group"
ng-class="{'has-error':partnerForm.business_structure.$invalid && partnerForm.business_structure.$dirty}"> ng-class="{'has-error':partnerForm.business_structure.$invalid && partnerForm.business_structure.$dirty}">
<label class="control-label col-sm-2" for="business-structure-input">Business Structure</label> <label class="control-label col-sm-2" for="business-structure-input">Business Structure</label>

Loading…
Cancel
Save