register.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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}">{:__('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. <input type="hidden" name="invite_user_id" value="0" />
  7. <input type="hidden" name="url" value="{$url}" />
  8. {:token()}
  9. <div class="form-group">
  10. <label class="control-label required">{:__('Email')}<span class="text-success"></span></label>
  11. <div class="controls">
  12. <input type="text" name="email" id="email" data-rule="required;email" class="form-control input-lg" placeholder="{:__('Email')}">
  13. <p class="help-block"></p>
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label class="control-label">{:__('Username')}</label>
  18. <div class="controls">
  19. <input type="text" id="username" name="username" data-rule="required;username" class="form-control input-lg" placeholder="{:__('Username must be 3 to 30 characters')}">
  20. <p class="help-block"></p>
  21. </div>
  22. </div>
  23. <div class="form-group">
  24. <label class="control-label">{:__('Password')}</label>
  25. <div class="controls">
  26. <input type="password" id="password" name="password" data-rule="required;password" class="form-control input-lg" placeholder="{:__('Password must be 6 to 30 characters')}">
  27. <p class="help-block"></p>
  28. </div>
  29. </div>
  30. <div class="form-group">
  31. <label class="control-label">{:__('Mobile')}</label>
  32. <div class="controls">
  33. <input type="text" id="mobile" name="mobile" data-rule="required;mobile" class="form-control input-lg" placeholder="{:__('Mobile')}">
  34. <p class="help-block"></p>
  35. </div>
  36. </div>
  37. {if $captchaType}
  38. <div class="form-group">
  39. <label class="control-label">{:__('Captcha')}</label>
  40. <div class="controls">
  41. <div class="input-group">
  42. {include file="common/captcha" event="register" type="$captchaType" /}
  43. </div>
  44. <p class="help-block"></p>
  45. </div>
  46. </div>
  47. {/if}
  48. <div class="form-group">
  49. <button type="submit" class="btn btn-primary btn-lg btn-block">{:__('Sign up')}</button>
  50. </div>
  51. </form>
  52. </div>
  53. </div>
  54. </div>