password_required.html 852 B

12345678910111213141516171819202122232425
  1. {% extends "wagtailcrx/pages/web_page_notitle.html" %}
  2. {% load i18n bootstrap4 %}
  3. {% block title %}Password Required{% endblock %}
  4. {% block content %}
  5. <div class="container text-center my-5">
  6. <div class="row">
  7. <div class="col-lg-6 offset-lg-3">
  8. <h1>{% trans "Password Required" %}</h1>
  9. {% block password_required_message %}
  10. <p>{% trans "You need a password to access this page." %}</p>
  11. {% endblock %}
  12. <form action="{{ action_url }}" method="POST">
  13. {% csrf_token %}
  14. {% bootstrap_form form layout='horizontal' %}
  15. <div class="form-group">
  16. <button type="submit" class="btn btn-primary">{% trans 'Continue' %}</button>
  17. </div>
  18. </form>
  19. </div>
  20. </div>
  21. </div>
  22. {% endblock %}