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.

23 lines
1014 B

11 years ago
  1. {% extends "layout.html" %}
  2. {% from "_macros.html" import render_field_with_label, render_field %}
  3. {% block title %}Change Password - packetcrypt{% endblock %}
  4. {% block flash %}
  5. {% for field in change_password_form.errors %}
  6. {% for error in change_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('change_password') }}" method="POST" name="change_password_form" class="uk-form">
  14. {{ change_password_form.hidden_tag() }}
  15. {{ render_field_with_label(change_password_form.password) }}
  16. {{ render_field_with_label(change_password_form.new_password) }}
  17. {{ render_field_with_label(change_password_form.new_password_confirm) }}
  18. {{ render_field(change_password_form.submit) }}
  19. </form>
  20. </div>
  21. {% endblock %}