master
lujian 6 years ago
parent b928ef8dfe
commit 54fa46567a

@ -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>

@ -111,13 +111,13 @@
<div class="col-sm-8">
<input class="form-control" ng-model="partner.short_name" type="text"
name="short_name"
id="short-name-input" required maxlength="50">
id="short-name-input" required maxlength="15">
<p class="small text-info">short name for WeChat payment display and partner
name</p>
<div ng-messages="partnerForm.short_name.$error"
ng-if="partnerForm.company_name.$dirty">
<p class="small text-danger" ng-message="required">Required Field</p>
<p class="small text-danger" ng-message="maxlength">Less Than 50
<p class="small text-danger" ng-message="maxlength">Less Than 15
Characters(including symbols and spaces)</p>
</div>
</div>

Loading…
Cancel
Save