|
|
@@ -387,6 +387,7 @@
|
|
|
</td>
|
|
|
<td class="text-center"><input ng-model="newUser.userName"
|
|
|
class="form-control input-sm" required type="text"
|
|
|
+ maxlength="20"
|
|
|
placeholder="用户名"></td>
|
|
|
<!--<td class="text-center"><select ng-model="newUser.userSex"-->
|
|
|
<!--class="form-control input-sm" ng-init="newUser.userSex='M'" style="width: 80px;">-->
|
|
|
@@ -406,7 +407,7 @@
|
|
|
<td class="text-center"
|
|
|
ng-class="{'has-error': userEmailError, 'has-success': userEmailSuccess}">
|
|
|
<input ng-model="newUser.userEmail" ng-pattern="/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/"
|
|
|
- name="newUserEmail" class="form-control input-sm" type="text"
|
|
|
+ name="newUserEmail" class="form-control input-sm" type="text" maxlength="50"
|
|
|
placeholder="邮箱">
|
|
|
</td>
|
|
|
<td colspan="2"></td>
|