Change colors for error messages in forms.

This commit is contained in:
Patrick Jentsch
2019-07-12 17:22:15 +02:00
parent 9096cc4028
commit 6d1be8f391
5 changed files with 23 additions and 31 deletions

View File

@ -17,7 +17,7 @@
{{ form.login(class='validate', placeholder='Email address or username') }}
{{ form.login.label }}
{% for error in form.login.errors %}
<span class="helper-text" style="color:red;">{{ error }}</span>
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>
<div class="input-field">
@ -25,7 +25,7 @@
{{ form.password(class='validate') }}
{{ form.password.label }}
{% for error in form.password.errors %}
<span class="helper-text" style="color:red;">{{ error }}</span>
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>
<a href="{{ url_for('auth.password_reset_request') }}" class="left">Forgot your password?</a>