master
lujian 6 years ago
parent 0897d2ddb2
commit a76a1a4cf5

@ -349,7 +349,7 @@
<div class="form-group has-feedback"
ng-class="{'has-error':companyForm.short_name.$invalid && companyForm.short_name.$dirty}">
<input type="text" class="form-control" ng-model="partner.short_name" name="short_name"
placeholder="Merchant Name" required maxlength="50">
placeholder="Merchant Name" required maxlength="15">
</div>
<div class="form-group has-feedback"
ng-class="{'has-error':companyForm.company_phone.$invalid && companyForm.company_phone.$dirty}">

@ -77,7 +77,7 @@
<input class="form-control" ng-model="partner.short_name"
type="text"
name="short_name" id="short-name-input" required
maxlength="50">
maxlength="15">
<p class="small text-info">short name for WeChat payment display
and partner
name</p>
@ -86,7 +86,7 @@
<p class="small text-danger" ng-message="required">Required
Field</p>
<p class="small text-danger" ng-message="maxlength">Less
Than 50
Than 15
Characters(including symbols and spaces)</p>
</div>
</div>

@ -344,9 +344,9 @@
<label class="control-label col-sm-2" for="company-name-input">Short Name</label>
<div class="col-sm-8">
<input class="form-control" ng-model="partner.short_name" type="text" name="short_name"
id="short-name-input" maxlength="50" required>
id="short-name-input" maxlength="15" required>
<div ng-messages="partnerForm.short_name.$error" ng-if="partnerForm.short_name.$dirty">
<p class="small text-danger" ng-message="required">No more than 50 characters</p>
<p class="small text-danger" ng-message="required">No more than 15 characters</p>
</div>
</div>
</div>

Loading…
Cancel
Save