修复前台用户注册时验证码要求正整数问题

pull/48/head
F4NNIU 2018-03-10 16:57:51 +08:00
parent 45b84424e8
commit a5a166032e
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
<label class="control-label">{:__('Captcha')}</label>
<div class="controls">
<div class="input-group input-group-lg">
<input type="text" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="required;length(4);integer[+]" style="border-radius: 0;" />
<input type="text" name="captcha" class="form-control" placeholder="{:__('Captcha')}" data-rule="required;length(4)" style="border-radius: 0;" />
<span class="input-group-addon" style="padding:0;border:none;">
<img src="{:captcha_src()}" width="140" height="42" onclick="this.src = '{:captcha_src()}?r=' + Math.random();"/>
</span>