register.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <div id="content-container" class="container">
  2. <div class="user-section login-section">
  3. <div class="logon-tab clearfix"><a href="{:url('user/login')}?url={$url|urlencode|htmlentities}">{:__('Sign in')}</a> <a class="active">{:__('Sign up')}</a></div>
  4. <div class="login-main">
  5. <form name="form1" id="register-form" class="form-vertical" method="POST" action="">
  6. <!--@IndexRegisterFormBegin-->
  7. <input type="hidden" name="invite_user_id" value="0"/>
  8. <input type="hidden" name="url" value="{$url|htmlentities}"/>
  9. {:token()}
  10. <div class="form-group">
  11. <label class="control-label required">{:__('Email')}<span class="text-success"></span></label>
  12. <div class="controls">
  13. <input type="text" name="email" id="email" data-rule="required;email" class="form-control" placeholder="{:__('Email')}">
  14. <p class="help-block"></p>
  15. </div>
  16. </div>
  17. <div class="form-group">
  18. <label class="control-label">{:__('Username')}</label>
  19. <div class="controls">
  20. <input type="text" id="username" name="username" data-rule="required;username" class="form-control" placeholder="{:__('Username must be 3 to 30 characters')}">
  21. <p class="help-block"></p>
  22. </div>
  23. </div>
  24. <div class="form-group">
  25. <label class="control-label">{:__('Password')}</label>
  26. <div class="controls">
  27. <input type="password" id="password" name="password" data-rule="required;password" class="form-control" placeholder="{:__('Password must be 6 to 30 characters')}">
  28. <p class="help-block"></p>
  29. </div>
  30. </div>
  31. <div class="form-group">
  32. <label class="control-label">{:__('Mobile')}</label>
  33. <div class="controls">
  34. <input type="text" id="mobile" name="mobile" data-rule="required;mobile" class="form-control" placeholder="{:__('Mobile')}">
  35. <p class="help-block"></p>
  36. </div>
  37. </div>
  38. <!--@CaptchaBegin-->
  39. {if $captchaType}
  40. <div class="form-group">
  41. <label class="control-label">{:__('Captcha')}</label>
  42. <div class="controls">
  43. <div class="input-group">
  44. {include file="common/captcha" event="register" type="$captchaType" /}
  45. </div>
  46. <p class="help-block"></p>
  47. </div>
  48. </div>
  49. {/if}
  50. <!--@CaptchaEnd-->
  51. <div class="form-group">
  52. <button type="submit" class="btn btn-primary btn-lg btn-block">{:__('Sign up')}</button>
  53. <a href="{:url('user/login')}?url={$url|urlencode|htmlentities}" class="btn btn-default btn-lg btn-block mt-3 no-border">{:__('Already have an account? Sign in')}</a>
  54. </div>
  55. <!--@IndexRegisterFormEnd-->
  56. </form>
  57. </div>
  58. </div>
  59. </div>