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.

22 lines
932 B

10 years ago
  1. {% extends "layout.html" %}
  2. {% from "_macros.html" import render_field_with_label, render_field %}
  3. {% block title %}Reset Password - packetcrypt{% endblock %}
  4. {% block flash %}
  5. {% for field in reset_password_form.errors %}
  6. {% for error in reset_password_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-1-4 uk-panel uk-panel-box uk-container-center">
  13. <form action="{{ url_for_security('reset_password') }}" method="POST" name="reset_password_form" class="uk-form">
  14. {{ reset_password_form.hidden_tag() }}
  15. {{ render_field_with_label(reset_password_form.password) }}
  16. {{ render_field_with_label(reset_password_form.password_confirm) }}
  17. {{ render_field(reset_password_form.submit) }}
  18. </form>
  19. </div>
  20. {% endblock %}