From f59651045d1a0597331c508a654b3a2e25ecdf35 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Sat, 3 Jul 2021 17:50:54 +0200 Subject: [PATCH] use data-bouncer-message instead of title to display error message --- app/dashboard/templates/dashboard/custom_alias.html | 2 +- app/oauth/templates/oauth/authorize.html | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/dashboard/templates/dashboard/custom_alias.html b/app/dashboard/templates/dashboard/custom_alias.html index b654feb3..984c45f6 100644 --- a/app/dashboard/templates/dashboard/custom_alias.html +++ b/app/dashboard/templates/dashboard/custom_alias.html @@ -33,7 +33,7 @@ type="text" pattern="[0-9a-z-_.]{1,}" maxlength="40" - title="Only lowercase letters, dots, numbers, dashes (-) and underscores (_) are currently supported." + data-bouncer-message="Only lowercase letters, dots, numbers, dashes (-) and underscores (_) are currently supported." placeholder="Alias prefix, for example newsletter.com-123_xyz" autofocus required> diff --git a/app/oauth/templates/oauth/authorize.html b/app/oauth/templates/oauth/authorize.html index 7b538b41..3abfb2c1 100644 --- a/app/oauth/templates/oauth/authorize.html +++ b/app/oauth/templates/oauth/authorize.html @@ -103,7 +103,7 @@ type="text" pattern="[0-9a-z-_]{1,}" maxlength="40" - title="Only lowercase letters, dots, numbers, dashes (-) and underscores (_) are currently supported." + data-bouncer-message="Only lowercase letters, dots, numbers, dashes (-) and underscores (_) are currently supported." placeholder="email alias" autofocus> @@ -202,3 +202,10 @@ {% endblock %} + +{% block script %} + +{% endblock %} \ No newline at end of file