密码重置模板制作

模板文件:User/password_reset.html

  1. <form class="form-horizontal js-ajax-form" action="{:U('user/login/doforgot_password')}" method="post">
  2. <label class="control-label" for="input_email">注册邮箱</label>
  3. <input type="email" id="input_email" name="email" class="span3">
  4. <label class="control-label" for="input_verify">验证码</label>
  5. <input type="text" id="input_verify" name="verify" class="span3">
  6. {:sp_verifycode_img('length=4&font_size=15&width=100&height=35&charset=1234567890')}
  7. <button class="btn btn-primary js-ajax-form" type="submit">确定</button>
  8. </form>