Prototype website for VPN service, Bitcoin payments via the Blockchain.info API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
1.5 KiB

10 years ago
  1. {% extends "layout.html" %}
  2. {% from "_macros.html" import render_field_with_label, render_field %}
  3. {% block title %}Register - packetcrypt{% endblock %}
  4. {% block flash %}
  5. {% for field in register_user_form.errors %}
  6. {% for error in register_user_form.errors[field] %}
  7. <div class="uk-alert uk-alert-danger" data-uk-alert><a href="" class="uk-alert-close uk-close"></a>{{ field }}: {{ error }}</div>
  8. {% endfor %}
  9. {% endfor %}
  10. {% endblock %}
  11. {% block content %}
  12. <div id="form-container" class="uk-width-3-5 uk-panel uk-panel-box uk-container-center">
  13. <form action="{{ url_for_security('register') }}" method="POST" name="register_user_form" class="uk-form" style="display:inline-block;">
  14. {{ register_user_form.hidden_tag() }}
  15. {{ render_field_with_label(register_user_form.email) }}
  16. {{ render_field_with_label(register_user_form.password) }}
  17. {% if register_user_form.password_confirm %}
  18. {{ render_field_with_label(register_user_form.password_confirm) }}
  19. {% endif %}
  20. {{ render_field(register_user_form.submit, class='uk-button uk-button-primary') }}
  21. </form>
  22. <div id="form-info" class="uk-align-right uk-text-info">
  23. All we need is an email address and a password to create an account, and you'll be clicks away from browsing securely.
  24. After registering please check your inbox for a verification email.
  25. <br/><p><a href="{{url_for_security('login')}}" class="uk-text-bold uk-text-muted">Click here to sign in to an existing account.</a></p>
  26. </div>
  27. </div>
  28. {% endblock %}