mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Don't show character counter for EMail adresses.
This commit is contained in:
parent
3bb900c7eb
commit
6cf12fa799
@ -37,7 +37,7 @@
|
||||
</div>
|
||||
<div class="input-field ">
|
||||
<i class="material-icons prefix">email</i>
|
||||
{{ form.email(class='validate', data_length='254', type='email') }}
|
||||
{{ form.email(class='validate', type='email') }}
|
||||
{{ form.email.label }}
|
||||
{% for error in form.email.errors %}
|
||||
<span class="helper-text red-text">{{ error }}</span>
|
||||
|
@ -182,7 +182,7 @@
|
||||
<script type="text/javascript" src="{{ url_for('static', filename='js/materialize.min.js') }}"></script>
|
||||
<script>
|
||||
M.AutoInit();
|
||||
M.CharacterCounter.init(document.querySelectorAll('input[data-length]'))
|
||||
M.CharacterCounter.init(document.querySelectorAll('input[data-length][type="text"]'))
|
||||
M.Dropdown.init(
|
||||
document.getElementById("nav-notifications"),
|
||||
{"alignment": "right", "constrainWidth": false, "coverTrigger": false}
|
||||
|
Loading…
Reference in New Issue
Block a user