credentials.html 942 B

1234567891011121314151617181920212223242526272829303132
  1. {% extends "cranefly/usercp/layout.html" %}
  2. {% load i18n %}
  3. {% load url from future %}
  4. {% import "_forms.html" as form_theme with context %}
  5. {% import "cranefly/macros.html" as macros with context %}
  6. {% block title %}{{ macros.page_title(title=_('Change your Sign-In Credentials')) }}{% endblock %}
  7. {% block action %}
  8. <div class="form-container">
  9. <div class="form-header">
  10. <h1>{% trans %}Change Sign-In Credentials{% endtrans %}</h1>
  11. </div>
  12. {% if message %}
  13. <div class="messages-list">
  14. {{ macros.draw_message(message) }}
  15. </div>
  16. {% endif %}
  17. <form action="{% url 'usercp_credentials' %}" method="post">
  18. <div class="form-fields">
  19. {{ form_theme.form_widget(form, width=9) }}
  20. </div>
  21. <div class="form-actions">
  22. <button name="save" type="submit" class="btn btn-primary">{% trans %}Change Credentials{% endtrans %}</button>
  23. </div>
  24. </form>
  25. </div>
  26. {% endblock %}