use data-bouncer-message instead of title to display error message
This commit is contained in:
parent
95d6fa3478
commit
f59651045d
|
@ -33,7 +33,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
pattern="[0-9a-z-_.]{1,}"
|
pattern="[0-9a-z-_.]{1,}"
|
||||||
maxlength="40"
|
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"
|
placeholder="Alias prefix, for example newsletter.com-123_xyz"
|
||||||
autofocus required>
|
autofocus required>
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@
|
||||||
type="text"
|
type="text"
|
||||||
pattern="[0-9a-z-_]{1,}"
|
pattern="[0-9a-z-_]{1,}"
|
||||||
maxlength="40"
|
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"
|
placeholder="email alias"
|
||||||
autofocus>
|
autofocus>
|
||||||
</div>
|
</div>
|
||||||
|
@ -202,3 +202,10 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block script %}
|
||||||
|
<script>
|
||||||
|
// init bouncer
|
||||||
|
new Bouncer('form');
|
||||||
|
</script>
|
||||||
|
{% endblock %}
|
Loading…
Reference in New Issue