Skip to content

Commit

Permalink
use the Bootstrap 4 base form template from keg-elements
Browse files Browse the repository at this point in the history
  • Loading branch information
guruofgentoo committed Feb 21, 2022
1 parent e96ac2e commit 16c393a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion keg_auth/templates/keg_auth/forgot-password.html
@@ -1,4 +1,4 @@
{% import 'keg_elements/forms/horizontal.html' as horizontal %}
{% import 'keg_elements/forms/horizontal_b4.html' as horizontal %}
{% extends 'keg_auth/form-base.html' %}
{%- if _ is not defined -%}
{% from 'keg_auth/i18n.j2' import gettext as _ %}
Expand Down
2 changes: 1 addition & 1 deletion keg_auth/templates/keg_auth/form-base.html
@@ -1,4 +1,4 @@
{% import 'keg_elements/forms/horizontal.html' as horizontal %}
{% import 'keg_elements/forms/horizontal_b4.html' as horizontal %}
{% extends config.get('BASE_TEMPLATE') or config['KEGAUTH_BASE_TEMPLATE'] %}

{% block title %}{{ page_title }}{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion keg_auth/templates/keg_auth/login.html
@@ -1,4 +1,4 @@
{% import 'keg_elements/forms/horizontal.html' as horizontal %}
{% import 'keg_elements/forms/horizontal_b4.html' as horizontal %}
{% extends 'keg_auth/form-base.html' %}
{%- if _ is not defined -%}
{% from 'keg_auth/i18n.j2' import gettext as _ %}
Expand Down
2 changes: 1 addition & 1 deletion keg_auth/templates/keg_auth/set-password.html
@@ -1,4 +1,4 @@
{% import 'keg_elements/forms/horizontal.html' as horizontal %}
{% import 'keg_elements/forms/horizontal_b4.html' as horizontal %}
{% extends 'keg_auth/form-base.html' %}

{% block form %}
Expand Down
2 changes: 1 addition & 1 deletion keg_auth/tests/test_views.py
Expand Up @@ -669,7 +669,7 @@ def test_add_no_email(self):
resp.form['email'] = 'foobar@baz.com'
resp = resp.form.submit()

assert resp.pyquery('#reset_password').siblings('.help-block').text() == \
assert resp.pyquery('#reset_password').siblings('.invalid-feedback').text() == \
'This field is required.'
resp.form['reset_password'] = 'bleh'
resp.form['confirm'] = 'bleh'
Expand Down

0 comments on commit 16c393a

Please sign in to comment.